Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",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.001725/0.001725, 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.001278/0.001278, 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.486/1.486, 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.2304/0.2304, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.59 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1525, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003631/0.1562, allocations: 1.912 MB / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1577, allocations: 0.9081 MB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.892e-05/0.1578, allocations: 7.938 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.1581, allocations: 43.69 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.1584, allocations: 59.7 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.1587, allocations: 138.4 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.1589, allocations: 131.6 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1591, allocations: 21.48 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.801e-05/0.1592, allocations: 63.7 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1593, allocations: 47.72 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.1593, allocations: 15.94 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1594, allocations: 47.97 kB / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.186e-05/0.1595, allocations: 23.92 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.685e-05/0.1596, allocations: 47.67 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.1598, allocations: 143.8 kB / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1598, allocations: 0 / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1598, allocations: 7.938 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1599, allocations: 0 / 473 MB, free: 10.62 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007027/0.1606, allocations: 476.5 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1606, allocations: 16.02 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.1607, allocations: 38.75 kB / 473.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.1607, allocations: 12.75 kB / 473.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.161, allocations: 224 kB / 473.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.161, allocations: 4.375 kB / 473.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.161, allocations: 11.94 kB / 473.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.1613, allocations: 108.2 kB / 473.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1613, allocations: 4 kB / 473.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1613, allocations: 4 kB / 473.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.1613, allocations: 4 kB / 473.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.1615, allocations: 43.91 kB / 473.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/0.1621, allocations: 0.5087 MB / 474.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.1624, allocations: 86.59 kB / 474.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.643e-05/0.1625, allocations: 40.78 kB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.1626, allocations: 0 / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002612/0.1628, allocations: 91.36 kB / 474.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.1628, allocations: 0 / 474.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004055/0.1633, allocations: 145.3 kB / 474.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.1633, allocations: 59.34 kB / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.1635, allocations: 187.5 kB / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1635, allocations: 29.7 kB / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/0.1636, allocations: 116 kB / 475.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.1636, allocations: 31.61 kB / 475.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.1637, allocations: 25.72 kB / 475.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1638, allocations: 322.8 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.899e-05/0.1639, allocations: 32.34 kB / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.164, allocations: 64.28 kB / 475.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.1642, allocations: 96.14 kB / 475.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1642, allocations: 0 / 475.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002646/0.1645, allocations: 137.3 kB / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1646, allocations: 10.5 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1646, allocations: 0 / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1646, allocations: 3.938 kB / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1647, allocations: 31.92 kB / 475.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.1647, allocations: 8 kB / 475.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.639e-05/0.1648, allocations: 7.938 kB / 475.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.1648, allocations: 8.125 kB / 475.9 MB, free: 7.398 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001071/0.1649, allocations: 133.8 kB / 476 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.165, allocations: 15.81 kB / 476 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.165, allocations: 21.39 kB / 476.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.165, allocations: 3.938 kB / 476.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.165, allocations: 0 / 476.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.165, allocations: 0 / 476.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.1652, allocations: 209.6 kB / 476.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1652, allocations: 0 / 476.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.556e-05/0.1653, allocations: 12 kB / 476.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1653, allocations: 4 kB / 476.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1653, allocations: 3.984 kB / 476.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.1654, allocations: 7.938 kB / 476.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1654, allocations: 3.938 kB / 476.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/0.1657, allocations: 180.9 kB / 476.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.1658, allocations: 92.89 kB / 476.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.1658, allocations: 12.05 kB / 476.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.387e-05/0.1659, allocations: 7.938 kB / 476.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.1659, allocations: 7.984 kB / 476.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.166, allocations: 0 / 476.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1661, allocations: 141.2 kB / 476.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1661, allocations: 0 / 476.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.1663, allocations: 28.12 kB / 476.8 MB, free: 6.438 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001369/0.1677, allocations: 1.021 MB / 477.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002441/0.1679, allocations: 79.91 kB / 477.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.168, allocations: 0 / 477.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.905e-05/0.1681, allocations: 40.16 kB / 477.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.1684, allocations: 39.92 kB / 477.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.1704, allocations: 1.743 MB / 479.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.1707, allocations: 0.7084 MB / 480.4 MB, free: 2.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.002e-05/0.1708, allocations: 25.34 kB / 480.4 MB, free: 2.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/0.1708, allocations: 43.42 kB / 480.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1708, allocations: 0 / 480.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.1926, allocations: 3.692 MB / 484.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/7.732, allocations: 11.69 kB / 484.2 MB, free: 15.12 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches