Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.001858/0.001858, allocations: 132.4 kB / 17.79 MB, free: 5.242 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.002259/0.002259, allocations: 210.5 kB / 20.75 MB, free: 2.293 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.512/1.512, allocations: 230.4 MB / 254 MB, free: 15.01 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.2408/0.2408, 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.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002494/0.002494, allocations: 79.88 kB / 0.491 GB, free: 7.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1607, allocations: 66.05 MB / 0.5555 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003317/0.164, allocations: 1.69 MB / 0.5572 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.1658, allocations: 1.018 MB / 0.5582 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.203e-05/0.1659, allocations: 0 / 0.5582 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000328/0.1662, allocations: 67.67 kB / 0.5582 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.1665, allocations: 111.6 kB / 0.5584 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.1667, allocations: 75.67 kB / 0.5584 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.1669, allocations: 103.7 kB / 0.5585 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.167, allocations: 240 / 0.5585 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.1671, allocations: 51.77 kB / 0.5586 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1672, allocations: 55.7 kB / 0.5586 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.1672, allocations: 4 kB / 0.5586 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.244e-05/0.1673, allocations: 35.98 kB / 0.5587 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.772e-05/0.1673, allocations: 19.92 kB / 0.5587 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.1674, allocations: 31.73 kB / 0.5587 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.1676, allocations: 103.6 kB / 0.5588 GB, free: 2.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1676, allocations: 0 / 0.5588 GB, free: 2.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1676, allocations: 0 / 0.5588 GB, free: 2.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.1676, allocations: 0 / 0.5588 GB, free: 2.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006235/0.1682, allocations: 418.7 kB / 0.5592 GB, free: 1.613 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1683, allocations: 8.031 kB / 0.5592 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.1683, allocations: 38.73 kB / 0.5593 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.1684, allocations: 12.84 kB / 0.5593 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.1687, allocations: 216.9 kB / 0.5595 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1687, allocations: 384 / 0.5595 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.1687, allocations: 384 / 0.5595 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1689, allocations: 53.8 kB / 0.5595 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1689, allocations: 0 / 0.5595 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1689, allocations: 0 / 0.5595 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1689, allocations: 0 / 0.5595 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.47e-05/0.169, allocations: 19.92 kB / 0.5596 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/0.1692, allocations: 185.6 kB / 0.5597 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.1693, allocations: 50.61 kB / 0.5598 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.1694, allocations: 20.8 kB / 0.5598 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.1694, allocations: 7.984 kB / 0.5598 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.1696, allocations: 71.27 kB / 0.5599 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.1696, allocations: 3.938 kB / 0.5599 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002969/0.1699, allocations: 93.62 kB / 0.56 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.1699, allocations: 55.41 kB / 0.56 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.1701, allocations: 198.4 kB / 0.5602 GB, free: 456 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.1702, allocations: 25.7 kB / 0.5602 GB, free: 424 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.1702, allocations: 100.1 kB / 0.5603 GB, free: 320 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.1703, allocations: 15.91 kB / 0.5603 GB, free: 304 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.1703, allocations: 17.72 kB / 0.5604 GB, free: 280 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1705, allocations: 326.8 kB / 0.5607 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.099e-05/0.1705, allocations: 15.98 kB / 0.5607 GB, free: 15.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-05/0.1706, allocations: 33.64 kB / 0.5607 GB, free: 15.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.1707, allocations: 41.97 kB / 0.5608 GB, free: 15.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1707, allocations: 0 / 0.5608 GB, free: 15.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001688/0.1708, allocations: 93.45 kB / 0.5608 GB, free: 15.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1709, allocations: 9.75 kB / 0.5609 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1709, allocations: 0 / 0.5609 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1709, allocations: 0 / 0.5609 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.906e-05/0.171, allocations: 16 kB / 0.5609 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.171, allocations: 0 / 0.5609 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.367e-05/0.171, allocations: 3.938 kB / 0.5609 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.171, allocations: 4 kB / 0.5609 GB, free: 15.71 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 (7): * Single equations (assignments): 7 * 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.0001074/0.1711, allocations: 121.8 kB / 0.561 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.1711, allocations: 11.89 kB / 0.561 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.469e-05/0.1712, allocations: 24.98 kB / 0.561 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1712, allocations: 0 / 0.561 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1712, allocations: 0 / 0.561 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1712, allocations: 3.938 kB / 0.561 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.1714, allocations: 185.6 kB / 0.5612 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1714, allocations: 3.938 kB / 0.5612 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.1714, allocations: 7.984 kB / 0.5612 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1714, allocations: 0 / 0.5612 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.1714, allocations: 0 / 0.5612 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1714, allocations: 0 / 0.5612 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1714, allocations: 3.938 kB / 0.5612 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.1716, allocations: 117 kB / 0.5613 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.1717, allocations: 85 kB / 0.5614 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.1717, allocations: 4 kB / 0.5614 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.351e-05/0.1717, allocations: 0 / 0.5614 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.1717, allocations: 12.11 kB / 0.5614 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.1718, allocations: 4 kB / 0.5614 GB, free: 15.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.1719, allocations: 148.2 kB / 0.5616 GB, free: 14.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1719, allocations: 4 kB / 0.5616 GB, free: 14.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.1721, allocations: 23.88 kB / 0.5616 GB, free: 14.87 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001913/0.174, allocations: 0.9363 MB / 0.5625 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.1742, allocations: 47.92 kB / 0.5626 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1742, allocations: 0 / 0.5626 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.305e-05/0.1743, allocations: 16.11 kB / 0.5626 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.1745, allocations: 24.11 kB / 0.5626 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.1764, allocations: 1.512 MB / 0.5641 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.1767, allocations: 0.7041 MB / 0.5648 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.766e-05/0.1768, allocations: 12.55 kB / 0.5648 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.1769, allocations: 31.42 kB / 0.5648 GB, free: 11.59 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1769, allocations: 0 / 0.5648 GB, free: 11.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.2019, allocations: 3.175 MB / 0.5679 GB, free: 8.473 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.814/8.016, allocations: 7.938 kB / 0.5679 GB, free: 8.465 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.343764286953956]