Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",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.001577/0.001577, allocations: 99.83 kB / 16.27 MB, free: 6 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.002806/0.002806, allocations: 184 kB / 17.19 MB, free: 5.621 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.682/1.682, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2253/0.2253, allocations: 43.51 MB / 313.9 MB, free: 0.543 MB / 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.001446/0.001446, allocations: 73.36 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1193, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002624/0.122, allocations: 1.686 MB / 442.3 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.123, allocations: 0.8078 MB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.517e-05/0.1231, allocations: 4 kB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.1234, allocations: 43.77 kB / 443.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.1236, allocations: 55.75 kB / 443.2 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.1238, allocations: 87.7 kB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.124, allocations: 99.69 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.868e-05/0.1241, allocations: 12.17 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.454e-05/0.1242, allocations: 39.8 kB / 443.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.1242, allocations: 31.84 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1243, allocations: 4 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.234e-05/0.1243, allocations: 39.98 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.675e-05/0.1244, allocations: 15.92 kB / 443.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.1244, allocations: 39.72 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.1246, allocations: 115.7 kB / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1246, allocations: 0 / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1246, allocations: 0 / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1246, allocations: 4 kB / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004378/0.1251, allocations: 414.9 kB / 444.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1251, allocations: 19.83 kB / 444.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.212e-05/0.1252, allocations: 34.75 kB / 444.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.1252, allocations: 12.75 kB / 444.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.1254, allocations: 206.2 kB / 444.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1254, allocations: 4.375 kB / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.1254, allocations: 7.938 kB / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.1255, allocations: 57.67 kB / 444.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1256, allocations: 3.938 kB / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1256, allocations: 0 / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1256, allocations: 0 / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.998e-05/0.1257, allocations: 19.98 kB / 444.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.1259, allocations: 284.9 kB / 444.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.1261, allocations: 66.55 kB / 444.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.1262, allocations: 20.86 kB / 444.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.1262, allocations: 0 / 444.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.1263, allocations: 67.38 kB / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.614e-06/0.1264, allocations: 0 / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004907/0.1269, allocations: 181.1 kB / 445.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.1269, allocations: 55.41 kB / 445.1 MB, free: 2.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.127, allocations: 203.3 kB / 445.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.1271, allocations: 25.7 kB / 445.4 MB, free: 1.855 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.958e-05/0.1271, allocations: 112 kB / 445.5 MB, free: 1.742 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.1271, allocations: 27.64 kB / 445.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.1272, allocations: 17.72 kB / 445.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.517e-05/0.1272, allocations: 322.8 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.174e-05/0.1273, allocations: 23.98 kB / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.566e-05/0.1274, allocations: 45.64 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.244e-05/0.1275, allocations: 49.72 kB / 445.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1275, allocations: 3.984 kB / 445.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001512/0.1276, allocations: 101.5 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1277, allocations: 8 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1277, allocations: 0 / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1277, allocations: 4.031 kB / 446.1 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.461e-05/0.1278, allocations: 15.98 kB / 446.1 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1278, allocations: 7.938 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.272e-05/0.1278, allocations: 3.938 kB / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1278, allocations: 8 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.197e-05/0.1279, allocations: 125.8 kB / 446.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.1279, allocations: 19.75 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.128, allocations: 13.41 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.128, allocations: 3.984 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.128, allocations: 8 kB / 446.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.128, allocations: 7.922 kB / 446.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.1284, allocations: 387.3 kB / 446.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1284, allocations: 4 kB / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.921e-05/0.1284, allocations: 8 kB / 446.7 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1284, allocations: 3.938 kB / 446.7 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.1284, allocations: 4 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1284, allocations: 4.219 kB / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1284, allocations: 4 kB / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.1286, allocations: 200.2 kB / 446.9 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.1286, allocations: 84.92 kB / 446.9 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.1287, allocations: 11.94 kB / 447 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.1288, allocations: 4.312 kB / 447 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.1288, allocations: 11.98 kB / 447 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.1288, allocations: 8 kB / 447 MB, free: 80 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1289, allocations: 151.9 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1289, allocations: 0 / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1292, allocations: 24 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001458/0.1307, allocations: 1.095 MB / 448.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.1309, allocations: 63.91 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1309, allocations: 4.062 kB / 448.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.918e-05/0.131, allocations: 31.92 kB / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.1313, allocations: 30 kB / 448.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.1329, allocations: 1.659 MB / 450 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.1332, allocations: 0.7041 MB / 450.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.966e-05/0.1333, allocations: 25.17 kB / 450.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.209e-05/0.1333, allocations: 39.36 kB / 450.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1333, allocations: 0 / 450.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.1528, allocations: 3.347 MB / 454.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.489/7.642, allocations: 3.938 kB / 454.2 MB, free: 8.832 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches