Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.001752/0.001752, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.002302/0.002302, allocations: 215.5 kB / 20.75 MB, free: 2.328 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.514/1.514, allocations: 230.4 MB / 254 MB, free: 15.05 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.91 MB / 357 MB, free: 10.21 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.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 79.88 kB / 0.4911 GB, free: 7.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1527, allocations: 66.05 MB / 0.5556 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003495/0.1562, allocations: 1.723 MB / 0.5572 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.1589, allocations: 1.649 MB / 0.5588 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.946e-05/0.1589, allocations: 0 / 0.5588 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.1593, allocations: 35.78 kB / 0.5589 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.1596, allocations: 103.5 kB / 0.559 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.1598, allocations: 79.66 kB / 0.5591 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.16, allocations: 103.7 kB / 0.5592 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1601, allocations: 16 kB / 0.5592 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1603, allocations: 55.7 kB / 0.5592 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.1604, allocations: 39.83 kB / 0.5593 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.1604, allocations: 7.938 kB / 0.5593 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.1606, allocations: 107.9 kB / 0.5594 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.013e-05/0.1607, allocations: 23.84 kB / 0.5594 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.645e-05/0.1607, allocations: 39.73 kB / 0.5594 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.1611, allocations: 171.4 kB / 0.5596 GB, free: 1.324 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1611, allocations: 0 / 0.5596 GB, free: 1.324 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1611, allocations: 0 / 0.5596 GB, free: 1.324 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.371e-06/0.1611, allocations: 0 / 0.5596 GB, free: 1.324 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.000638/0.1617, allocations: 434.5 kB / 0.56 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1618, allocations: 12.03 kB / 0.56 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.149e-05/0.1618, allocations: 30.75 kB / 0.5601 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.664e-05/0.1618, allocations: 12.84 kB / 0.5601 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.1622, allocations: 220.7 kB / 0.5603 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.1622, allocations: 384 / 0.5603 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.1622, allocations: 7.938 kB / 0.5603 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.1624, allocations: 75.39 kB / 0.5604 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1624, allocations: 0 / 0.5604 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1624, allocations: 0 / 0.5604 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1624, allocations: 0 / 0.5604 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.454e-05/0.1625, allocations: 23.92 kB / 0.5604 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.1629, allocations: 284.9 kB / 0.5607 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.1631, allocations: 54.69 kB / 0.5607 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.158e-05/0.1631, allocations: 20.84 kB / 0.5607 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.1632, allocations: 3.938 kB / 0.5607 GB, free: 0 / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.1634, allocations: 71.39 kB / 0.5608 GB, free: 15.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.1634, allocations: 0 / 0.5608 GB, free: 15.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005856/0.1639, allocations: 177.3 kB / 0.561 GB, free: 15.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.164, allocations: 77.11 kB / 0.561 GB, free: 15.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.1642, allocations: 170.4 kB / 0.5612 GB, free: 15.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.1642, allocations: 25.7 kB / 0.5612 GB, free: 15.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.1643, allocations: 100.1 kB / 0.5613 GB, free: 15.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.1643, allocations: 31.73 kB / 0.5613 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.1644, allocations: 25.7 kB / 0.5614 GB, free: 15.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1645, allocations: 314.8 kB / 0.5617 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.949e-05/0.1646, allocations: 27.98 kB / 0.5617 GB, free: 14.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-05/0.1646, allocations: 42.56 kB / 0.5617 GB, free: 14.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1648, allocations: 57.83 kB / 0.5618 GB, free: 14.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1648, allocations: 0 / 0.5618 GB, free: 14.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002039/0.165, allocations: 105.5 kB / 0.5619 GB, free: 14.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.165, allocations: 4 kB / 0.5619 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.165, allocations: 4.062 kB / 0.5619 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.165, allocations: 0 / 0.5619 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.1651, allocations: 23.92 kB / 0.5619 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1651, allocations: 0 / 0.5619 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.345e-05/0.1651, allocations: 8.312 kB / 0.5619 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.1652, allocations: 7.984 kB / 0.5619 GB, free: 14.66 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.0001159/0.1653, allocations: 121.8 kB / 0.5621 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.1653, allocations: 7.953 kB / 0.5621 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.1653, allocations: 12.72 kB / 0.5621 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1653, allocations: 4 kB / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1654, allocations: 7.938 kB / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.1654, allocations: 11.92 kB / 0.5621 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/0.1659, allocations: 391.3 kB / 0.5625 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1659, allocations: 0 / 0.5625 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.1659, allocations: 11.94 kB / 0.5625 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1659, allocations: 3.938 kB / 0.5625 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.1659, allocations: 8 kB / 0.5625 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1659, allocations: 4.031 kB / 0.5625 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1659, allocations: 0 / 0.5625 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.1662, allocations: 196.6 kB / 0.5627 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.1662, allocations: 89.06 kB / 0.5628 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.1662, allocations: 3.938 kB / 0.5628 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.542e-05/0.1663, allocations: 4 kB / 0.5628 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.1664, allocations: 19.91 kB / 0.5628 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.1664, allocations: 4 kB / 0.5628 GB, free: 13.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.1665, allocations: 131.9 kB / 0.5629 GB, free: 13.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1665, allocations: 0 / 0.5629 GB, free: 13.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003145/0.1668, allocations: 43.86 kB / 0.563 GB, free: 13.5 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.00244/0.1693, allocations: 1.178 MB / 0.5641 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.1695, allocations: 67.89 kB / 0.5642 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1695, allocations: 0 / 0.5642 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.387e-05/0.1696, allocations: 35.97 kB / 0.5642 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.1699, allocations: 27.61 kB / 0.5642 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.1718, allocations: 1.583 MB / 0.5658 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.1722, allocations: 0.7041 MB / 0.5665 GB, free: 9.949 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.099e-05/0.1723, allocations: 16.88 kB / 0.5665 GB, free: 9.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/0.1723, allocations: 31.42 kB / 0.5665 GB, free: 9.898 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1723, allocations: 0 / 0.5665 GB, free: 9.898 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/0.1978, allocations: 4.048 MB / 0.5705 GB, free: 5.871 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.04, allocations: 3.938 kB / 0.5705 GB, free: 5.867 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_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_Test55.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.42589738406241]