Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_0_0_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.001618/0.001618, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.002305/0.002305, allocations: 192 kB / 18.56 MB, free: 4.434 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.405/1.405, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.2378/0.2378, allocations: 44.19 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 68.69 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.144, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.004612/0.1486, allocations: 1.699 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.1511, allocations: 0.8768 MB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.1512, allocations: 0 / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.1515, allocations: 43.75 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.1519, allocations: 59.77 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.1525, allocations: 107.6 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.1527, allocations: 95.7 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1528, allocations: 12.2 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.153, allocations: 43.78 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.945e-05/0.1531, allocations: 27.86 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.1531, allocations: 8 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.1533, allocations: 47.91 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.14e-05/0.1534, allocations: 19.92 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.818e-05/0.1535, allocations: 35.75 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.1538, allocations: 111.9 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1539, allocations: 0 / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.1539, allocations: 4 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1539, allocations: 0 / 472.5 MB, free: 11.06 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.0006879/0.1546, allocations: 410.9 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1546, allocations: 15.97 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.05e-05/0.1547, allocations: 38.69 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.1548, allocations: 12.78 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.1551, allocations: 214.7 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1551, allocations: 384 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.1551, allocations: 7.938 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.1553, allocations: 53.67 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1554, allocations: 0 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1554, allocations: 0 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1554, allocations: 0 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1555, allocations: 23.98 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.1561, allocations: 288.7 kB / 473.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.1563, allocations: 58.67 kB / 473.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.246e-05/0.1564, allocations: 20.84 kB / 473.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.1565, allocations: 8 kB / 473.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/0.1567, allocations: 67.33 kB / 473.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.465e-06/0.1568, allocations: 0 / 473.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007801/0.1575, allocations: 181.3 kB / 473.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.1576, allocations: 59.41 kB / 474 MB, free: 9.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.1579, allocations: 199.3 kB / 474.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.1579, allocations: 25.7 kB / 474.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.1581, allocations: 112.1 kB / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.1581, allocations: 19.72 kB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.1582, allocations: 21.7 kB / 474.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1584, allocations: 326.8 kB / 474.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.664e-05/0.1585, allocations: 16 kB / 474.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.1586, allocations: 33.7 kB / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.1588, allocations: 69.64 kB / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1588, allocations: 0 / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002921/0.1591, allocations: 93.5 kB / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.1592, allocations: 8 kB / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1592, allocations: 0 / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.1592, allocations: 3.984 kB / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.1594, allocations: 15.94 kB / 474.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.1594, allocations: 7.938 kB / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.057e-05/0.1595, allocations: 11.97 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1595, allocations: 4 kB / 474.9 MB, free: 8.434 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.0001802/0.1597, allocations: 130 kB / 475.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/0.1597, allocations: 11.91 kB / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.729e-05/0.1598, allocations: 21.33 kB / 475.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1598, allocations: 0 / 475.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1598, allocations: 0 / 475.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.1599, allocations: 3.938 kB / 475.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007161/0.1606, allocations: 395.3 kB / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1606, allocations: 0 / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.57e-05/0.1607, allocations: 11.98 kB / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/0.1607, allocations: 11.92 kB / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1607, allocations: 0 / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.1607, allocations: 3.938 kB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.1607, allocations: 0 / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.1612, allocations: 212.4 kB / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.976e-05/0.1613, allocations: 85.02 kB / 475.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.1613, allocations: 7.938 kB / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.1615, allocations: 3.984 kB / 475.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.1615, allocations: 8 kB / 475.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.1616, allocations: 4 kB / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002057/0.1618, allocations: 147.9 kB / 476 MB, free: 7.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1618, allocations: 0 / 476 MB, free: 7.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004899/0.1623, allocations: 31.98 kB / 476 MB, free: 7.262 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.002487/0.1648, allocations: 1.098 MB / 477.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1651, allocations: 63.91 kB / 477.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1651, allocations: 0 / 477.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.773e-05/0.1652, allocations: 27.92 kB / 477.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.1655, allocations: 30.89 kB / 477.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.1675, allocations: 1.66 MB / 478.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1679, allocations: 0.7002 MB / 479.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.541e-05/0.1679, allocations: 17.17 kB / 479.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.882e-05/0.168, allocations: 35.42 kB / 479.6 MB, free: 3.676 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.168, allocations: 0 / 479.6 MB, free: 3.676 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.1909, allocations: 3.35 MB / 483 MB, free: 420 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/7.759, allocations: 4 kB / 483 MB, free: 416 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches