Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",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.001076/0.001076, 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.001084/0.001084, 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.346/1.346, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2065/0.2065, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 62.78 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1159, allocations: 60.84 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003624/0.1196, allocations: 1.696 MB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.1211, allocations: 0.8808 MB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.284e-05/0.1212, allocations: 0 / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.1215, allocations: 35.83 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.1217, allocations: 55.7 kB / 472 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.1221, allocations: 111.6 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.1223, allocations: 95.7 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.929e-05/0.1224, allocations: 8.234 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.749e-05/0.1225, allocations: 47.77 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.818e-05/0.1225, allocations: 27.86 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1226, allocations: 4 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.439e-05/0.1227, allocations: 39.98 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.771e-05/0.1227, allocations: 27.91 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.349e-05/0.1228, allocations: 35.69 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.123, allocations: 111.9 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.123, allocations: 0 / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.123, allocations: 3.938 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.123, allocations: 0 / 472.5 MB, free: 11.05 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.0005223/0.1235, allocations: 411 kB / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1236, allocations: 12.03 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.143e-05/0.1236, allocations: 30.75 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.1237, allocations: 12.75 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.1239, allocations: 208.1 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1239, allocations: 384 / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.1239, allocations: 11.94 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.1241, allocations: 57.61 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1241, allocations: 4 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1241, allocations: 0 / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1241, allocations: 0 / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.83e-05/0.1242, allocations: 19.98 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.1246, allocations: 284.9 kB / 473.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.1248, allocations: 70.55 kB / 473.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.1248, allocations: 16.86 kB / 473.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1248, allocations: 0 / 473.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.125, allocations: 71.38 kB / 473.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1251, allocations: 0 / 473.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005352/0.1256, allocations: 165.2 kB / 473.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.1256, allocations: 55.41 kB / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.1258, allocations: 194.1 kB / 474.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.1258, allocations: 25.7 kB / 474.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.1259, allocations: 108.1 kB / 474.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.1259, allocations: 19.72 kB / 474.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.126, allocations: 25.7 kB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1261, allocations: 322.8 kB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.655e-05/0.1261, allocations: 16 kB / 474.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.1262, allocations: 45.64 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.1263, allocations: 57.69 kB / 474.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1263, allocations: 0 / 474.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001793/0.1265, allocations: 109.4 kB / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1266, allocations: 4.188 kB / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1266, allocations: 0 / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1266, allocations: 3.938 kB / 474.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.521e-05/0.1267, allocations: 20.03 kB / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1267, allocations: 0 / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.1267, allocations: 7.922 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1267, allocations: 8 kB / 474.9 MB, free: 8.457 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 0.0002393/0.127, allocations: 125.8 kB / 475 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.127, allocations: 11.91 kB / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.417e-05/0.1271, allocations: 17.08 kB / 475 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1271, allocations: 0 / 475 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1271, allocations: 4 kB / 475 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1271, allocations: 3.938 kB / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/0.1275, allocations: 395.3 kB / 475.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1275, allocations: 0 / 475.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.1276, allocations: 11.98 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1276, allocations: 3.938 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1276, allocations: 4 kB / 475.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1276, allocations: 3.938 kB / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1276, allocations: 4.031 kB / 475.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.1278, allocations: 200.2 kB / 475.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.1279, allocations: 88.95 kB / 475.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1279, allocations: 3.938 kB / 475.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.023e-05/0.128, allocations: 11.98 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.1281, allocations: 4 kB / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.1281, allocations: 8 kB / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.1282, allocations: 143.2 kB / 475.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1282, allocations: 0 / 475.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1285, allocations: 24 kB / 475.9 MB, free: 7.301 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.001821/0.1303, allocations: 1.105 MB / 477 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.1305, allocations: 55.97 kB / 477.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1305, allocations: 0 / 477.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.054e-05/0.1306, allocations: 32 kB / 477.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.131, allocations: 35 kB / 477.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.133, allocations: 1.627 MB / 478.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.1334, allocations: 0.7002 MB / 479.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.855e-05/0.1335, allocations: 17.17 kB / 479.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.353e-05/0.1336, allocations: 35.42 kB / 479.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1336, allocations: 4 kB / 479.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.1563, allocations: 3.286 MB / 482.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.736/7.892, allocations: 13.75 kB / 482.8 MB, free: 0.5156 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_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_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches