Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.001895/0.001895, allocations: 132.3 kB / 17.8 MB, free: 5.219 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.001979/0.001979, allocations: 206.6 kB / 20.75 MB, free: 2.273 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.579/1.579, 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.2381/0.2381, 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.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 83.88 kB / 0.4911 GB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1495, allocations: 66.05 MB / 0.5556 GB, free: 5.457 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003489/0.153, allocations: 1.731 MB / 0.5572 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.1549, allocations: 1.035 MB / 0.5583 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.058e-05/0.155, allocations: 0 / 0.5583 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.1553, allocations: 51.75 kB / 0.5583 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003372/0.1556, allocations: 103.5 kB / 0.5584 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.1559, allocations: 75.73 kB / 0.5585 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.1561, allocations: 107.6 kB / 0.5586 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1562, allocations: 8 kB / 0.5586 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1563, allocations: 51.78 kB / 0.5586 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.175e-05/0.1564, allocations: 27.84 kB / 0.5587 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.1564, allocations: 8 kB / 0.5587 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1565, allocations: 47.92 kB / 0.5587 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/0.1566, allocations: 31.8 kB / 0.5587 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.212e-05/0.1566, allocations: 39.73 kB / 0.5588 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.1569, allocations: 123.4 kB / 0.5589 GB, free: 2.004 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1569, allocations: 0 / 0.5589 GB, free: 2.004 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1569, allocations: 0 / 0.5589 GB, free: 2.004 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1569, allocations: 0 / 0.5589 GB, free: 2.004 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.0006715/0.1576, allocations: 442.5 kB / 0.5593 GB, free: 1.523 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.1576, allocations: 8.031 kB / 0.5593 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.771e-05/0.1577, allocations: 42.67 kB / 0.5594 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.1577, allocations: 12.89 kB / 0.5594 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.1581, allocations: 213.5 kB / 0.5596 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1581, allocations: 8.375 kB / 0.5596 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.1581, allocations: 384 / 0.5596 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.1583, allocations: 57.8 kB / 0.5597 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1583, allocations: 0 / 0.5597 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1583, allocations: 4 kB / 0.5597 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1583, allocations: 0 / 0.5597 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.695e-05/0.1584, allocations: 19.98 kB / 0.5597 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.1588, allocations: 308.8 kB / 0.56 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.159, allocations: 50.69 kB / 0.56 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.08e-05/0.1591, allocations: 20.84 kB / 0.56 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.1591, allocations: 0 / 0.56 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.1593, allocations: 75.33 kB / 0.5601 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1593, allocations: 0 / 0.5601 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006085/0.1599, allocations: 173.3 kB / 0.5603 GB, free: 424 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.1599, allocations: 59.34 kB / 0.5603 GB, free: 352 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.1602, allocations: 234.1 kB / 0.5606 GB, free: 108 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.1602, allocations: 29.7 kB / 0.5606 GB, free: 72 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.1603, allocations: 116.1 kB / 0.5607 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.1604, allocations: 19.86 kB / 0.5607 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.1604, allocations: 21.7 kB / 0.5607 GB, free: 15.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.1606, allocations: 330.8 kB / 0.561 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.23e-05/0.1607, allocations: 23.98 kB / 0.5611 GB, free: 15.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.158e-05/0.1608, allocations: 37.7 kB / 0.5611 GB, free: 15.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.1609, allocations: 61.64 kB / 0.5612 GB, free: 15.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/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.0002076/0.1611, allocations: 105.8 kB / 0.5613 GB, free: 15.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1611, allocations: 4 kB / 0.5613 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.1611, allocations: 3.938 kB / 0.5613 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.1611, allocations: 7.984 kB / 0.5613 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.1612, allocations: 19.92 kB / 0.5613 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.1613, allocations: 0 / 0.5613 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.1613, allocations: 7.938 kB / 0.5613 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.1613, allocations: 4.031 kB / 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.0001321/0.1614, allocations: 133.8 kB / 0.5614 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-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.273e-05/0.1615, allocations: 17.41 kB / 0.5615 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.1615, allocations: 3.984 kB / 0.5615 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1615, allocations: 0 / 0.5615 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1615, allocations: 0 / 0.5615 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005049/0.162, allocations: 407.3 kB / 0.5619 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.162, allocations: 0 / 0.5619 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.1621, allocations: 11.98 kB / 0.5619 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1621, allocations: 384 / 0.5619 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-06/0.1621, allocations: 0 / 0.5619 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.157e-05/0.1621, allocations: 15.88 kB / 0.5619 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1621, allocations: 0 / 0.5619 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.1624, allocations: 204.3 kB / 0.5621 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.1624, allocations: 89.02 kB / 0.5622 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.1625, allocations: 3.984 kB / 0.5622 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.1625, allocations: 7.938 kB / 0.5622 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.1626, allocations: 8 kB / 0.5622 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.1626, allocations: 7.984 kB / 0.5622 GB, free: 14.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.1628, allocations: 172.4 kB / 0.5624 GB, free: 14.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1628, allocations: 0 / 0.5624 GB, free: 14.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.163, allocations: 23.92 kB / 0.5624 GB, free: 14.07 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.002241/0.1653, allocations: 1.108 MB / 0.5635 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.1655, allocations: 59.84 kB / 0.5635 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1655, allocations: 0 / 0.5635 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.1655, allocations: 23.98 kB / 0.5635 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.1659, allocations: 31.67 kB / 0.5636 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.168, allocations: 1.75 MB / 0.5653 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.1683, allocations: 0.7119 MB / 0.566 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.445e-05/0.1684, allocations: 17.17 kB / 0.566 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.1685, allocations: 43.42 kB / 0.566 GB, free: 10.35 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1685, allocations: 0 / 0.566 GB, free: 10.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.196, allocations: 3.653 MB / 0.5696 GB, free: 6.758 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.02, allocations: 0 / 0.5696 GB, free: 6.758 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.410874266992323]