Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",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.001288/0.001288, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001366/0.001366, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2126/0.2126, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.06 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1058, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003543/0.1093, allocations: 1.692 MB / 471.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.111, allocations: 0.8847 MB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.1112, allocations: 0 / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.1115, allocations: 35.77 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.1119, allocations: 55.75 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.1123, allocations: 110 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.1125, allocations: 91.7 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1126, allocations: 20.2 kB / 472.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.803e-05/0.1127, allocations: 39.8 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.725e-05/0.1128, allocations: 23.86 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.1128, allocations: 4 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1129, allocations: 47.97 kB / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.765e-05/0.113, allocations: 19.86 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.55e-05/0.1131, allocations: 27.81 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.1133, allocations: 111.9 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1133, allocations: 0 / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1133, allocations: 3.938 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.1133, allocations: 4 kB / 472.5 MB, free: 11.1 MB / 350.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.0006371/0.114, allocations: 413.9 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.114, allocations: 12.03 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.673e-05/0.1141, allocations: 30.75 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.1141, allocations: 8.844 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.1144, allocations: 212 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.1144, allocations: 4.375 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.1145, allocations: 3.938 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.1146, allocations: 61.67 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1147, allocations: 0 / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1147, allocations: 0 / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.1147, allocations: 0 / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.828e-05/0.1148, allocations: 23.98 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004575/0.1153, allocations: 280.8 kB / 473.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.1155, allocations: 58.67 kB / 473.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.1155, allocations: 20.86 kB / 473.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.1156, allocations: 0 / 473.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.1158, allocations: 67.3 kB / 473.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.1158, allocations: 3.938 kB / 473.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00058/0.1164, allocations: 161.4 kB / 473.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.1165, allocations: 63.41 kB / 473.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.1167, allocations: 183.4 kB / 474.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.1167, allocations: 25.7 kB / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.1167, allocations: 100.1 kB / 474.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.1168, allocations: 31.62 kB / 474.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.1168, allocations: 17.72 kB / 474.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.117, allocations: 322.8 kB / 474.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.117, allocations: 24.36 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.17e-05/0.1171, allocations: 37.7 kB / 474.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.1172, allocations: 69.7 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1173, allocations: 7.938 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001931/0.1175, allocations: 93.5 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1175, allocations: 4 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1175, allocations: 0 / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1175, allocations: 8.031 kB / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.532e-05/0.1176, allocations: 20.11 kB / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1176, allocations: 0 / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.578e-05/0.1177, allocations: 15.86 kB / 474.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.1177, allocations: 4 kB / 474.9 MB, free: 8.52 MB / 350.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 9.226e-05/0.1178, allocations: 121.8 kB / 475 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.1178, allocations: 11.91 kB / 475 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.1179, allocations: 12.72 kB / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1179, allocations: 0 / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1179, allocations: 4 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1179, allocations: 3.938 kB / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.1184, allocations: 391.3 kB / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1184, allocations: 0 / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.692e-05/0.1184, allocations: 11.98 kB / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1184, allocations: 3.938 kB / 475.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1184, allocations: 0 / 475.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1184, allocations: 4 kB / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1185, allocations: 4.031 kB / 475.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.1187, allocations: 204.1 kB / 475.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.1187, allocations: 85 kB / 475.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.1188, allocations: 7.938 kB / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.1188, allocations: 4 kB / 475.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.1189, allocations: 4 kB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.1189, allocations: 11.98 kB / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.793e-05/0.119, allocations: 135.1 kB / 475.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.119, allocations: 0 / 475.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1193, allocations: 20 kB / 475.9 MB, free: 7.391 MB / 350.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.001455/0.1207, allocations: 1.113 MB / 477 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.121, allocations: 63.91 kB / 477.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/0.121, allocations: 0 / 477.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.692e-05/0.1211, allocations: 28 kB / 477.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.1214, allocations: 27.97 kB / 477.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.1231, allocations: 1.608 MB / 478.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.1233, allocations: 0.7002 MB / 479.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.675e-05/0.1234, allocations: 13.2 kB / 479.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.1235, allocations: 31.42 kB / 479.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1235, allocations: 8 kB / 479.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.1446, allocations: 3.238 MB / 482.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/7.832, allocations: 7.297 kB / 482.7 MB, free: 0.6836 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches