Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001833/0.001833, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002194/0.002194, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2384/0.2384, allocations: 46.92 MB / 357 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003689/0.003689, allocations: 83.88 kB / 0.4911 GB, free: 7.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1588, allocations: 66.04 MB / 0.5555 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003701/0.1625, allocations: 1.74 MB / 0.5572 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.1644, allocations: 1.028 MB / 0.5582 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.99e-05/0.1645, allocations: 4 kB / 0.5583 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.1648, allocations: 39.77 kB / 0.5583 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.1651, allocations: 95.55 kB / 0.5584 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.1653, allocations: 75.72 kB / 0.5585 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.1655, allocations: 107.6 kB / 0.5586 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1656, allocations: 15.98 kB / 0.5586 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.1658, allocations: 43.78 kB / 0.5586 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.031e-05/0.1659, allocations: 31.86 kB / 0.5586 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1659, allocations: 4 kB / 0.5586 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.947e-05/0.166, allocations: 55.91 kB / 0.5587 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.166, allocations: 15.92 kB / 0.5587 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.465e-05/0.1661, allocations: 31.75 kB / 0.5587 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.1663, allocations: 111.5 kB / 0.5589 GB, free: 2.039 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1663, allocations: 3.938 kB / 0.5589 GB, free: 2.035 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1663, allocations: 0 / 0.5589 GB, free: 2.035 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1663, allocations: 0 / 0.5589 GB, free: 2.035 MB / 414.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.0005712/0.1669, allocations: 410.8 kB / 0.5592 GB, free: 1.586 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1669, allocations: 8.031 kB / 0.5593 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.167, allocations: 46.69 kB / 0.5593 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.167, allocations: 8.891 kB / 0.5593 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.1673, allocations: 208.2 kB / 0.5595 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1673, allocations: 384 / 0.5595 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.1673, allocations: 8.375 kB / 0.5595 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1675, allocations: 57.73 kB / 0.5596 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.1675, allocations: 0 / 0.5596 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1675, allocations: 7.984 kB / 0.5596 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1675, allocations: 0 / 0.5596 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.313e-05/0.1676, allocations: 27.92 kB / 0.5596 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.168, allocations: 288.8 kB / 0.5599 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.1681, allocations: 46.69 kB / 0.5599 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.813e-05/0.1682, allocations: 20.84 kB / 0.5599 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.1682, allocations: 0 / 0.5599 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.1684, allocations: 79.33 kB / 0.56 GB, free: 0.668 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1684, allocations: 0 / 0.56 GB, free: 0.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005717/0.1689, allocations: 173.4 kB / 0.5602 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.169, allocations: 51.41 kB / 0.5602 GB, free: 440 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.1692, allocations: 170.2 kB / 0.5604 GB, free: 256 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1692, allocations: 25.7 kB / 0.5604 GB, free: 224 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.1693, allocations: 104.1 kB / 0.5605 GB, free: 116 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.1693, allocations: 23.8 kB / 0.5605 GB, free: 92 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.1693, allocations: 25.7 kB / 0.5606 GB, free: 60 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.1695, allocations: 326.8 kB / 0.5609 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.813e-05/0.1696, allocations: 16 kB / 0.5609 GB, free: 15.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.1697, allocations: 37.7 kB / 0.5609 GB, free: 15.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.1698, allocations: 65.64 kB / 0.561 GB, free: 15.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1698, allocations: 0 / 0.561 GB, free: 15.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001882/0.17, allocations: 101.6 kB / 0.5611 GB, free: 15.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.17, allocations: 4 kB / 0.5611 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.17, allocations: 0 / 0.5611 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.17, allocations: 4.188 kB / 0.5611 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.1701, allocations: 15.94 kB / 0.5611 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1701, allocations: 3.938 kB / 0.5611 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.824e-05/0.1701, allocations: 11.98 kB / 0.5611 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1701, allocations: 4.031 kB / 0.5611 GB, free: 15.45 MB / 430.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.0001048/0.1703, allocations: 121.8 kB / 0.5612 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.1703, allocations: 7.953 kB / 0.5613 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.1703, allocations: 16.7 kB / 0.5613 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1703, allocations: 4 kB / 0.5613 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1703, allocations: 3.984 kB / 0.5613 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1703, allocations: 3.938 kB / 0.5613 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.1708, allocations: 399.2 kB / 0.5617 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1708, allocations: 0 / 0.5617 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.1708, allocations: 8 kB / 0.5617 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.1708, allocations: 7.984 kB / 0.5617 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.1708, allocations: 3.938 kB / 0.5617 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1708, allocations: 3.938 kB / 0.5617 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1708, allocations: 0 / 0.5617 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.1711, allocations: 208.6 kB / 0.5619 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.1711, allocations: 89.39 kB / 0.562 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.1712, allocations: 4 kB / 0.562 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.1712, allocations: 15.92 kB / 0.562 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.1713, allocations: 4 kB / 0.562 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.1713, allocations: 4 kB / 0.562 GB, free: 14.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1714, allocations: 136.7 kB / 0.5621 GB, free: 14.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1714, allocations: 0 / 0.5621 GB, free: 14.33 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1717, allocations: 23.94 kB / 0.5622 GB, free: 14.3 MB / 430.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.002171/0.1738, allocations: 1.088 MB / 0.5632 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.174, allocations: 55.86 kB / 0.5633 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.174, allocations: 0 / 0.5633 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.779e-05/0.1741, allocations: 35.91 kB / 0.5633 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.1745, allocations: 19.98 kB / 0.5633 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.1764, allocations: 1.613 MB / 0.5649 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.1767, allocations: 0.7002 MB / 0.5656 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.911e-05/0.1768, allocations: 21.17 kB / 0.5656 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.527e-05/0.1769, allocations: 39.42 kB / 0.5656 GB, free: 10.75 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1769, allocations: 0 / 0.5656 GB, free: 10.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.202, allocations: 3.346 MB / 0.5689 GB, free: 7.453 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.85/8.052, allocations: 10.23 kB / 0.5689 GB, free: 7.445 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.299881682964042]