Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.001933/0.001933, allocations: 118.1 kB / 18.5 MB, free: 4.543 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.002212/0.002212, allocations: 214.4 kB / 21.46 MB, free: 1.586 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.503/1.503, allocations: 230.2 MB / 254.5 MB, free: 15.21 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.2317/0.2317, allocations: 46.89 MB / 357.4 MB, free: 10.46 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.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 79.88 kB / 0.4913 GB, free: 8.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1476, allocations: 65.99 MB / 0.5558 GB, free: 6.109 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003472/0.1511, allocations: 1.817 MB / 0.5575 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.1531, allocations: 1.114 MB / 0.5586 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-05/0.1532, allocations: 4 kB / 0.5586 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000603/0.1538, allocations: 303.2 kB / 0.5589 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005197/0.1543, allocations: 247.2 kB / 0.5592 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.1546, allocations: 107.6 kB / 0.5593 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.1549, allocations: 263.2 kB / 0.5595 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.003e-05/0.155, allocations: 17.61 kB / 0.5595 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.1552, allocations: 123.6 kB / 0.5596 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.1554, allocations: 219.8 kB / 0.5599 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.1555, allocations: 8 kB / 0.5599 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1556, allocations: 47.98 kB / 0.5599 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.1557, allocations: 136.5 kB / 0.56 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.1559, allocations: 150.7 kB / 0.5602 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000492/0.1564, allocations: 370.2 kB / 0.5605 GB, free: 1.195 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1564, allocations: 0 / 0.5605 GB, free: 1.195 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1564, allocations: 0 / 0.5605 GB, free: 1.195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1564, allocations: 0 / 0.5605 GB, free: 1.195 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001178/0.1576, allocations: 0.7423 MB / 0.5613 GB, free: 412 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1576, allocations: 15.97 kB / 0.5613 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.439e-05/0.1577, allocations: 38.75 kB / 0.5613 GB, free: 348 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.147e-05/0.1577, allocations: 56.59 kB / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007461/0.1585, allocations: 452.3 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1585, allocations: 4.359 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.1585, allocations: 4.375 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.1587, allocations: 83.5 kB / 0.5619 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1588, allocations: 0 / 0.5619 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.1588, allocations: 15.97 kB / 0.5619 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1588, allocations: 0 / 0.5619 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.1589, allocations: 31.92 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.1593, allocations: 374.4 kB / 0.5623 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.1596, allocations: 101.2 kB / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.462e-05/0.1597, allocations: 37.7 kB / 0.5624 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.1597, allocations: 3.984 kB / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002487/0.16, allocations: 117 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.16, allocations: 0 / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004912/0.1605, allocations: 197.7 kB / 0.5627 GB, free: 14.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.1605, allocations: 85.05 kB / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.1618, allocations: 1.022 MB / 0.5638 GB, free: 13.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.1618, allocations: 29.7 kB / 0.5638 GB, free: 13.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.162, allocations: 232.1 kB / 0.564 GB, free: 13.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.934e-05/0.1621, allocations: 31.78 kB / 0.5641 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.1621, allocations: 29.72 kB / 0.5641 GB, free: 13.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.1624, allocations: 370.7 kB / 0.5645 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.745e-05/0.1624, allocations: 23.98 kB / 0.5645 GB, free: 12.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.1625, allocations: 60.28 kB / 0.5645 GB, free: 12.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.1627, allocations: 95.42 kB / 0.5646 GB, free: 12.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1627, allocations: 0 / 0.5646 GB, free: 12.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003187/0.1631, allocations: 173.2 kB / 0.5648 GB, free: 12.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1631, allocations: 8 kB / 0.5648 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1631, allocations: 0 / 0.5648 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1631, allocations: 3.938 kB / 0.5648 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1632, allocations: 27.92 kB / 0.5648 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1632, allocations: 4.062 kB / 0.5648 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.65e-05/0.1633, allocations: 15.89 kB / 0.5649 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.1633, allocations: 7.984 kB / 0.5649 GB, free: 12.46 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002253/0.1636, allocations: 213.8 kB / 0.5651 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.1636, allocations: 55.61 kB / 0.5651 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.109e-05/0.1637, allocations: 60.09 kB / 0.5652 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1637, allocations: 0 / 0.5652 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1637, allocations: 7.938 kB / 0.5652 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1637, allocations: 3.984 kB / 0.5652 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.1641, allocations: 341.5 kB / 0.5655 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1641, allocations: 3.938 kB / 0.5655 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.538e-05/0.1641, allocations: 8.109 kB / 0.5655 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.1641, allocations: 8 kB / 0.5655 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1641, allocations: 0 / 0.5655 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.1641, allocations: 3.984 kB / 0.5655 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1641, allocations: 4 kB / 0.5655 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.1645, allocations: 209.5 kB / 0.5657 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.1647, allocations: 144.7 kB / 0.5659 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.1647, allocations: 0 / 0.5659 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.984e-05/0.1648, allocations: 4 kB / 0.5659 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.1648, allocations: 11.98 kB / 0.5659 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.1649, allocations: 7.984 kB / 0.5659 GB, free: 11.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008489/0.1657, allocations: 0.7643 MB / 0.5666 GB, free: 10.53 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1657, allocations: 0 / 0.5666 GB, free: 10.53 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.166, allocations: 47.94 kB / 0.5667 GB, free: 10.48 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002062/0.168, allocations: 1.049 MB / 0.5677 GB, free: 9.555 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002644/0.1683, allocations: 83.84 kB / 0.5678 GB, free: 9.473 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1683, allocations: 0 / 0.5678 GB, free: 9.473 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.1684, allocations: 31.98 kB / 0.5678 GB, free: 9.441 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.1688, allocations: 62.27 kB / 0.5679 GB, free: 9.383 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/0.1746, allocations: 4.484 MB / 0.5723 GB, free: 4.793 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.175, allocations: 0.8427 MB / 0.5731 GB, free: 3.926 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.1752, allocations: 54.94 kB / 0.5731 GB, free: 3.871 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.1754, allocations: 151.4 kB / 0.5733 GB, free: 3.727 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1754, allocations: 0 / 0.5733 GB, free: 3.727 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0326/0.208, allocations: 8.977 MB / 0.5821 GB, free: 10.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.64/8.847, allocations: 14.8 kB / 0.5821 GB, free: 10.79 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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: 12.266091416124254]