Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",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.001518/0.001518, 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.001747/0.001747, 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.387/1.387, 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.2505/0.2505, allocations: 44.17 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 68.64 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.149, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003532/0.1526, allocations: 1.691 MB / 471.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.1541, allocations: 0.8847 MB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.08e-05/0.1542, allocations: 0 / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.1545, allocations: 87.67 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.1548, allocations: 71.73 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.1551, allocations: 119.5 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.1553, allocations: 107.7 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1554, allocations: 12.23 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.315e-05/0.1555, allocations: 43.78 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1556, allocations: 59.81 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.1556, allocations: 4 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1557, allocations: 47.91 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.1558, allocations: 23.92 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.251e-05/0.1559, allocations: 35.73 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1561, allocations: 119.8 kB / 472.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1561, allocations: 0 / 472.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1561, allocations: 0 / 472.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1561, allocations: 4 kB / 472.7 MB, free: 10.96 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.0005313/0.1566, allocations: 417.8 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1567, allocations: 12.03 kB / 473.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/0.1567, allocations: 38.73 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.1568, allocations: 8.844 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.157, allocations: 215.9 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1571, allocations: 8.359 kB / 473.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.1571, allocations: 7.938 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1572, allocations: 49.67 kB / 473.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1572, allocations: 0 / 473.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1573, allocations: 4 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1573, allocations: 4 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.948e-05/0.1573, allocations: 15.98 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.1577, allocations: 292.8 kB / 473.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.1579, allocations: 58.67 kB / 473.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.449e-05/0.158, allocations: 16.86 kB / 473.8 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.158, allocations: 3.938 kB / 473.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.1582, allocations: 79.33 kB / 473.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.1582, allocations: 0 / 473.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005419/0.1588, allocations: 177.1 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.1588, allocations: 59.33 kB / 474.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.159, allocations: 219.4 kB / 474.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1591, allocations: 29.7 kB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.1591, allocations: 100.1 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.1592, allocations: 23.64 kB / 474.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.1592, allocations: 29.72 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1593, allocations: 326.8 kB / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.227e-05/0.1594, allocations: 20 kB / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.07e-05/0.1595, allocations: 33.7 kB / 474.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.1596, allocations: 57.64 kB / 474.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1596, allocations: 8 kB / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001721/0.1598, allocations: 93.59 kB / 475 MB, free: 8.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1598, allocations: 4 kB / 475 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1598, allocations: 4 kB / 475 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1598, allocations: 3.984 kB / 475 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.761e-05/0.1599, allocations: 15.94 kB / 475 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.16, allocations: 0 / 475 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.16, allocations: 8.125 kB / 475.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.16, allocations: 8 kB / 475.1 MB, free: 8.309 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.0001117/0.1601, allocations: 129.8 kB / 475.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.1602, allocations: 15.81 kB / 475.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.61e-05/0.1602, allocations: 17.39 kB / 475.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.1602, allocations: 4 kB / 475.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1603, allocations: 0 / 475.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1603, allocations: 3.938 kB / 475.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.1607, allocations: 391.3 kB / 475.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1607, allocations: 4.031 kB / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.1608, allocations: 15.98 kB / 475.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1608, allocations: 3.938 kB / 475.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1608, allocations: 4 kB / 475.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1608, allocations: 0 / 475.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.1608, allocations: 3.938 kB / 475.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.1611, allocations: 208.1 kB / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.1611, allocations: 93 kB / 475.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.1612, allocations: 8.297 kB / 475.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-05/0.1612, allocations: 4 kB / 476 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.1613, allocations: 4 kB / 476 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.1613, allocations: 15.98 kB / 476 MB, free: 7.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.1614, allocations: 160.2 kB / 476.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1615, allocations: 0 / 476.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1617, allocations: 24 kB / 476.2 MB, free: 7.117 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.00155/0.1633, allocations: 1.094 MB / 477.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.1635, allocations: 59.92 kB / 477.3 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1635, allocations: 3.938 kB / 477.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.512e-05/0.1636, allocations: 31.92 kB / 477.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.1639, allocations: 27.92 kB / 477.4 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.1658, allocations: 1.691 MB / 479.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1661, allocations: 0.708 MB / 479.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.797e-05/0.1662, allocations: 12.86 kB / 479.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.996e-05/0.1662, allocations: 39.42 kB / 479.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1662, allocations: 0 / 479.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.1872, allocations: 3.403 MB / 483.2 MB, free: 184 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/7.647, allocations: 19.14 kB / 483.2 MB, free: 168 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches