Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.001866/0.001866, allocations: 123.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.00208/0.00208, allocations: 207.5 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.556/1.556, 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.2393/0.2393, allocations: 46.93 MB / 357 MB, free: 10.17 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.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003751/0.003751, allocations: 79.88 kB / 0.4911 GB, free: 7.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1645, allocations: 66.05 MB / 0.5556 GB, free: 5.43 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003406/0.1679, allocations: 1.732 MB / 0.5572 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.1704, allocations: 1.644 MB / 0.5588 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.78e-05/0.1705, allocations: 4 kB / 0.5589 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.1708, allocations: 35.77 kB / 0.5589 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.1711, allocations: 103.5 kB / 0.559 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.1713, allocations: 75.67 kB / 0.5591 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.1716, allocations: 107.7 kB / 0.5592 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.1716, allocations: 12 kB / 0.5592 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.867e-05/0.1717, allocations: 47.78 kB / 0.5592 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.1719, allocations: 54.14 kB / 0.5593 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.1719, allocations: 4 kB / 0.5593 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.1721, allocations: 107.9 kB / 0.5594 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.1722, allocations: 15.88 kB / 0.5594 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.386e-05/0.1722, allocations: 43.72 kB / 0.5594 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.1726, allocations: 171.4 kB / 0.5596 GB, free: 1.262 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1726, allocations: 0 / 0.5596 GB, free: 1.262 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1726, allocations: 0 / 0.5596 GB, free: 1.262 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.1726, allocations: 0 / 0.5596 GB, free: 1.262 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.0006237/0.1732, allocations: 426.6 kB / 0.56 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.1732, allocations: 19.97 kB / 0.56 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.1733, allocations: 34.69 kB / 0.5601 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.1733, allocations: 12.84 kB / 0.5601 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.1737, allocations: 208.8 kB / 0.5603 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1737, allocations: 384 / 0.5603 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.1737, allocations: 11.94 kB / 0.5603 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.1739, allocations: 67.39 kB / 0.5603 GB, free: 400 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1739, allocations: 7.969 kB / 0.5604 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1739, allocations: 4 kB / 0.5604 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1739, allocations: 4 kB / 0.5604 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.174, allocations: 27.86 kB / 0.5604 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.1744, allocations: 280.9 kB / 0.5607 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.1746, allocations: 54.67 kB / 0.5607 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.596e-05/0.1746, allocations: 20.86 kB / 0.5607 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.1746, allocations: 3.984 kB / 0.5607 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.1748, allocations: 79.31 kB / 0.5608 GB, free: 15.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.1748, allocations: 0 / 0.5608 GB, free: 15.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005647/0.1754, allocations: 169.3 kB / 0.561 GB, free: 15.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.1754, allocations: 77.11 kB / 0.561 GB, free: 15.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.1756, allocations: 175 kB / 0.5612 GB, free: 15.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1756, allocations: 29.69 kB / 0.5612 GB, free: 15.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.1757, allocations: 96.14 kB / 0.5613 GB, free: 15.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.1757, allocations: 31.73 kB / 0.5614 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.1758, allocations: 21.72 kB / 0.5614 GB, free: 15.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1759, allocations: 318.8 kB / 0.5617 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.356e-05/0.176, allocations: 23.98 kB / 0.5617 GB, free: 14.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.63e-05/0.1761, allocations: 46.56 kB / 0.5617 GB, free: 14.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.1762, allocations: 57.66 kB / 0.5618 GB, free: 14.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1762, allocations: 0 / 0.5618 GB, free: 14.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002159/0.1764, allocations: 101.6 kB / 0.5619 GB, free: 14.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1764, allocations: 7.938 kB / 0.5619 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1764, allocations: 0 / 0.5619 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1764, allocations: 0 / 0.5619 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.1765, allocations: 24.05 kB / 0.5619 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1765, allocations: 3.938 kB / 0.5619 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.688e-05/0.1766, allocations: 11.94 kB / 0.5619 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.1766, allocations: 0 / 0.5619 GB, free: 14.59 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.0001097/0.1767, allocations: 119.2 kB / 0.5621 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.1767, allocations: 7.953 kB / 0.5621 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.1768, allocations: 16.7 kB / 0.5621 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1768, allocations: 0 / 0.5621 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1768, allocations: 4 kB / 0.5621 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.1768, allocations: 7.938 kB / 0.5621 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/0.1773, allocations: 395.3 kB / 0.5625 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1773, allocations: 384 / 0.5625 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.1773, allocations: 19.92 kB / 0.5625 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.1773, allocations: 8.125 kB / 0.5625 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1773, allocations: 4 kB / 0.5625 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1773, allocations: 3.938 kB / 0.5625 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1773, allocations: 0 / 0.5625 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.1776, allocations: 196.6 kB / 0.5627 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.1777, allocations: 89.06 kB / 0.5628 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.1777, allocations: 7.922 kB / 0.5628 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.772e-05/0.1778, allocations: 4 kB / 0.5628 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.1778, allocations: 8 kB / 0.5628 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.1778, allocations: 7.984 kB / 0.5628 GB, free: 13.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1779, allocations: 135.2 kB / 0.5629 GB, free: 13.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1779, allocations: 0 / 0.5629 GB, free: 13.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.1782, allocations: 43.86 kB / 0.563 GB, free: 13.43 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.002495/0.1807, allocations: 1.178 MB / 0.5641 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.1809, allocations: 59.91 kB / 0.5642 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1809, allocations: 0 / 0.5642 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.471e-05/0.181, allocations: 27.92 kB / 0.5642 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.1814, allocations: 31.34 kB / 0.5642 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.1833, allocations: 1.587 MB / 0.5658 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.1836, allocations: 0.7002 MB / 0.5665 GB, free: 9.891 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.076e-05/0.1837, allocations: 24.86 kB / 0.5665 GB, free: 9.863 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.163e-05/0.1837, allocations: 31.61 kB / 0.5665 GB, free: 9.832 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1837, allocations: 3.938 kB / 0.5665 GB, free: 9.828 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.2104, allocations: 4.036 MB / 0.5705 GB, free: 5.816 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/7.995, allocations: 7.938 kB / 0.5705 GB, free: 5.809 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.39641077897977]