Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.001243/0.001243, 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.002275/0.002275, 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.517/1.517, allocations: 230.4 MB / 254 MB, free: 15.04 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.2726/0.2726, allocations: 46.92 MB / 357 MB, free: 10.2 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.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002519/0.002519, allocations: 75.89 kB / 0.491 GB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1495, allocations: 66.05 MB / 0.5555 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003686/0.1532, allocations: 1.744 MB / 0.5572 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1551, allocations: 1.034 MB / 0.5583 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1552, allocations: 0 / 0.5583 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.1555, allocations: 43.78 kB / 0.5583 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004135/0.156, allocations: 107.5 kB / 0.5584 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.1562, allocations: 71.73 kB / 0.5585 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.1564, allocations: 111.6 kB / 0.5586 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1566, allocations: 11.98 kB / 0.5586 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.1567, allocations: 47.78 kB / 0.5586 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.722e-05/0.1568, allocations: 27.84 kB / 0.5587 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.1568, allocations: 4 kB / 0.5587 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.1569, allocations: 47.92 kB / 0.5587 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.83e-05/0.157, allocations: 31.84 kB / 0.5587 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.077e-05/0.157, allocations: 35.75 kB / 0.5588 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.1573, allocations: 127.4 kB / 0.5589 GB, free: 2.004 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.1573, allocations: 0 / 0.5589 GB, free: 2.004 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1573, allocations: 4 kB / 0.5589 GB, free: 2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.1573, allocations: 0 / 0.5589 GB, free: 2 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.0006281/0.1579, allocations: 438.5 kB / 0.5593 GB, free: 1.523 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.158, allocations: 11.97 kB / 0.5593 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.158, allocations: 34.69 kB / 0.5594 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.1581, allocations: 12.89 kB / 0.5594 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.1584, allocations: 217.5 kB / 0.5596 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1584, allocations: 4.375 kB / 0.5596 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.1584, allocations: 4.375 kB / 0.5596 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.1586, allocations: 57.8 kB / 0.5596 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1586, allocations: 0 / 0.5596 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.1586, allocations: 7.984 kB / 0.5597 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1586, allocations: 0 / 0.5597 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.969e-05/0.1587, allocations: 23.92 kB / 0.5597 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.1591, allocations: 292.8 kB / 0.56 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.1593, allocations: 58.67 kB / 0.56 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.1593, allocations: 20.86 kB / 0.56 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.1593, allocations: 3.938 kB / 0.56 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.1595, allocations: 71.33 kB / 0.5601 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1595, allocations: 0 / 0.5601 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000562/0.1601, allocations: 181.3 kB / 0.5603 GB, free: 416 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.1601, allocations: 51.41 kB / 0.5603 GB, free: 352 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.1604, allocations: 242 kB / 0.5606 GB, free: 100 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1604, allocations: 25.7 kB / 0.5606 GB, free: 68 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.932e-05/0.1605, allocations: 116.1 kB / 0.5607 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.1605, allocations: 23.84 kB / 0.5607 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.1605, allocations: 17.72 kB / 0.5607 GB, free: 15.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1607, allocations: 330.8 kB / 0.561 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.685e-05/0.1607, allocations: 24 kB / 0.5611 GB, free: 15.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.1608, allocations: 37.7 kB / 0.5611 GB, free: 15.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.1609, allocations: 61.64 kB / 0.5612 GB, free: 15.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1609, allocations: 0 / 0.5612 GB, free: 15.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001881/0.1611, allocations: 101.7 kB / 0.5613 GB, free: 15.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1611, allocations: 6.188 kB / 0.5613 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1611, allocations: 4.109 kB / 0.5613 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.1612, allocations: 7.984 kB / 0.5613 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.922e-05/0.1613, allocations: 15.94 kB / 0.5613 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1613, allocations: 7.922 kB / 0.5613 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.584e-05/0.1613, allocations: 8 kB / 0.5613 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1613, allocations: 0 / 0.5613 GB, free: 15.29 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.0001227/0.1614, allocations: 135.5 kB / 0.5614 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.1615, allocations: 15.91 kB / 0.5615 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.173e-05/0.1615, allocations: 25.39 kB / 0.5615 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1615, allocations: 3.984 kB / 0.5615 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1615, allocations: 0 / 0.5615 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1615, allocations: 0 / 0.5615 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004675/0.162, allocations: 399.3 kB / 0.5619 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.162, allocations: 0 / 0.5619 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.162, allocations: 11.94 kB / 0.5619 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.162, allocations: 0 / 0.5619 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.162, allocations: 4 kB / 0.5619 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.162, allocations: 16.33 kB / 0.5619 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.162, allocations: 0 / 0.5619 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.1623, allocations: 200.5 kB / 0.5621 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.008e-05/0.1624, allocations: 93.02 kB / 0.5622 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.1624, allocations: 7.938 kB / 0.5622 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.1625, allocations: 7.938 kB / 0.5622 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.1625, allocations: 11.98 kB / 0.5622 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.1625, allocations: 4 kB / 0.5622 GB, free: 14.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.1627, allocations: 176.4 kB / 0.5624 GB, free: 14.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1627, allocations: 0 / 0.5624 GB, free: 14.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.1629, allocations: 23.94 kB / 0.5624 GB, free: 14.06 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.002169/0.1651, allocations: 1.093 MB / 0.5635 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.1653, allocations: 63.84 kB / 0.5635 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1653, allocations: 4.062 kB / 0.5635 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.396e-05/0.1654, allocations: 28.08 kB / 0.5636 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.1657, allocations: 34.69 kB / 0.5636 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.1677, allocations: 1.75 MB / 0.5653 GB, free: 11.13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.168, allocations: 0.708 MB / 0.566 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.782e-05/0.1681, allocations: 12.88 kB / 0.566 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/0.1681, allocations: 39.42 kB / 0.566 GB, free: 10.35 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1681, allocations: 0 / 0.566 GB, free: 10.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.1934, allocations: 3.655 MB / 0.5696 GB, free: 6.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.759/7.953, allocations: 5.062 kB / 0.5696 GB, free: 6.75 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.246610942995176]