Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 108 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 188.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2067/0.2067, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.91 kB / 441.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.1005, allocations: 57.8 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003186/0.1037, allocations: 1.837 MB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.1053, allocations: 0.9052 MB / 0.4902 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.301e-05/0.1054, allocations: 7.938 kB / 0.4902 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004666/0.1059, allocations: 227.4 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.1062, allocations: 159.4 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.1066, allocations: 147.7 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.1069, allocations: 231.3 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.107, allocations: 29.52 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.1072, allocations: 107.6 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.1074, allocations: 147.5 kB / 0.4912 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.1075, allocations: 8 kB / 0.4912 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1076, allocations: 43.98 kB / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.318e-05/0.1077, allocations: 59.77 kB / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.986e-05/0.1078, allocations: 79.36 kB / 0.4913 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.1081, allocations: 211 kB / 0.4915 GB, free: 8.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1081, allocations: 0 / 0.4915 GB, free: 8.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1081, allocations: 0 / 0.4915 GB, free: 8.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1081, allocations: 0 / 0.4915 GB, free: 8.035 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007478/0.1089, allocations: 0.5556 MB / 0.4921 GB, free: 7.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1089, allocations: 11.89 kB / 0.4921 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.753e-05/0.109, allocations: 38.75 kB / 0.4921 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.109, allocations: 36.73 kB / 0.4922 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.1094, allocations: 276.4 kB / 0.4924 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1094, allocations: 384 / 0.4924 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.1094, allocations: 11.94 kB / 0.4924 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.1097, allocations: 103.3 kB / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1097, allocations: 0 / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1097, allocations: 0 / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1097, allocations: 4 kB / 0.4926 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.1099, allocations: 39.97 kB / 0.4926 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.1104, allocations: 456.9 kB / 0.493 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.1107, allocations: 117.3 kB / 0.4931 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.988e-05/0.1108, allocations: 41.69 kB / 0.4932 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1108, allocations: 0 / 0.4932 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.1111, allocations: 121 kB / 0.4933 GB, free: 6.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.1111, allocations: 0 / 0.4933 GB, free: 6.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008992/0.112, allocations: 369.2 kB / 0.4936 GB, free: 5.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.1121, allocations: 85.03 kB / 0.4937 GB, free: 5.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.1125, allocations: 428.5 kB / 0.4941 GB, free: 5.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.1126, allocations: 33.7 kB / 0.4942 GB, free: 5.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.1127, allocations: 152.3 kB / 0.4943 GB, free: 4.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.1127, allocations: 59.52 kB / 0.4944 GB, free: 4.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/0.1128, allocations: 33.7 kB / 0.4944 GB, free: 4.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.113, allocations: 342.8 kB / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.1131, allocations: 43.98 kB / 0.4948 GB, free: 4.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.1132, allocations: 71.59 kB / 0.4948 GB, free: 4.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.1135, allocations: 127.4 kB / 0.495 GB, free: 4.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1135, allocations: 0 / 0.495 GB, free: 4.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003427/0.1138, allocations: 177.4 kB / 0.4951 GB, free: 4.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1138, allocations: 11.98 kB / 0.4951 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1139, allocations: 0 / 0.4951 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1139, allocations: 4 kB / 0.4951 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.114, allocations: 39.92 kB / 0.4952 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.114, allocations: 4 kB / 0.4952 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.45e-05/0.1141, allocations: 8 kB / 0.4952 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.1141, allocations: 4 kB / 0.4952 GB, free: 4.004 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.1143, allocations: 161.8 kB / 0.4954 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.1143, allocations: 35.77 kB / 0.4954 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.787e-05/0.1144, allocations: 34.56 kB / 0.4954 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1144, allocations: 11.92 kB / 0.4954 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1144, allocations: 0 / 0.4954 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1144, allocations: 4 kB / 0.4954 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007786/0.1152, allocations: 0.6166 MB / 0.496 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.1152, allocations: 7.984 kB / 0.496 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.1153, allocations: 15.94 kB / 0.4961 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1153, allocations: 4 kB / 0.4961 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.1153, allocations: 8 kB / 0.4961 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1154, allocations: 8.047 kB / 0.4961 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1154, allocations: 0 / 0.4961 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.1158, allocations: 379.8 kB / 0.4964 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.696e-05/0.1159, allocations: 96.92 kB / 0.4965 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.1159, allocations: 8 kB / 0.4965 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.1161, allocations: 11.98 kB / 0.4966 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.1161, allocations: 15.98 kB / 0.4966 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.1161, allocations: 4 kB / 0.4966 GB, free: 2.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003327/0.1165, allocations: 319 kB / 0.4969 GB, free: 2.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1165, allocations: 0 / 0.4969 GB, free: 2.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.1168, allocations: 35.98 kB / 0.4969 GB, free: 2.137 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002358/0.1192, allocations: 1.271 MB / 0.4981 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002953/0.1195, allocations: 115.8 kB / 0.4983 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1195, allocations: 0 / 0.4983 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.1196, allocations: 63.91 kB / 0.4983 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005289/0.1202, allocations: 49.3 kB / 0.4984 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.1234, allocations: 2.645 MB / 0.501 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.1238, allocations: 0.7593 MB / 0.5017 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.102e-05/0.1239, allocations: 37.91 kB / 0.5017 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.124, allocations: 87.39 kB / 0.5018 GB, free: 12.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.124, allocations: 0 / 0.5018 GB, free: 12.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.1525, allocations: 5.743 MB / 0.5074 GB, free: 7.203 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.205, allocations: 8 kB / 0.5074 GB, free: 7.195 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches