Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.001486/0.001486, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001388/0.001388, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.491/1.491, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2267/0.2267, allocations: 46.9 MB / 357.4 MB, free: 10.48 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.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003277/0.003277, allocations: 83.86 kB / 0.4913 GB, free: 8.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.153, allocations: 66 MB / 0.5558 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003188/0.1562, allocations: 1.684 MB / 0.5574 GB, free: 4.438 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.1579, allocations: 1.019 MB / 0.5584 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.789e-05/0.158, allocations: 0 / 0.5584 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.1583, allocations: 55.69 kB / 0.5585 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.1586, allocations: 107.5 kB / 0.5586 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.1588, allocations: 67.75 kB / 0.5586 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.159, allocations: 103.7 kB / 0.5587 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.294e-05/0.1591, allocations: 8.219 kB / 0.5587 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1592, allocations: 43.78 kB / 0.5588 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.1593, allocations: 51.7 kB / 0.5588 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.1593, allocations: 4 kB / 0.5588 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.82e-05/0.1594, allocations: 32 kB / 0.5589 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.699e-05/0.1594, allocations: 15.92 kB / 0.5589 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.136e-05/0.1595, allocations: 35.78 kB / 0.5589 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.1597, allocations: 95.59 kB / 0.559 GB, free: 2.805 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1597, allocations: 4 kB / 0.559 GB, free: 2.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1597, allocations: 0 / 0.559 GB, free: 2.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1597, allocations: 7.938 kB / 0.559 GB, free: 2.793 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006297/0.1603, allocations: 406.7 kB / 0.5594 GB, free: 2.348 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1604, allocations: 12.03 kB / 0.5594 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.137e-05/0.1604, allocations: 30.75 kB / 0.5594 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.1605, allocations: 12.89 kB / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.1608, allocations: 216.1 kB / 0.5597 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1608, allocations: 4.375 kB / 0.5597 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.1608, allocations: 4.375 kB / 0.5597 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.1609, allocations: 49.8 kB / 0.5597 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.161, allocations: 3.938 kB / 0.5597 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.161, allocations: 4 kB / 0.5597 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.161, allocations: 0 / 0.5597 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.278e-05/0.161, allocations: 11.98 kB / 0.5597 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.1613, allocations: 181.7 kB / 0.5599 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.1614, allocations: 50.62 kB / 0.56 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.777e-05/0.1615, allocations: 20.84 kB / 0.56 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.1615, allocations: 0 / 0.56 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.1617, allocations: 75.27 kB / 0.56 GB, free: 1.559 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.1617, allocations: 0 / 0.56 GB, free: 1.559 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002989/0.162, allocations: 93.62 kB / 0.5601 GB, free: 1.461 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.162, allocations: 51.41 kB / 0.5602 GB, free: 1.398 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.1623, allocations: 187.3 kB / 0.5604 GB, free: 1.203 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1623, allocations: 25.7 kB / 0.5604 GB, free: 1.172 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.932e-05/0.1623, allocations: 100.1 kB / 0.5605 GB, free: 1.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.1624, allocations: 15.89 kB / 0.5605 GB, free: 1.055 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.1624, allocations: 17.72 kB / 0.5605 GB, free: 1.031 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1626, allocations: 322.8 kB / 0.5608 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.291e-05/0.1626, allocations: 23.92 kB / 0.5608 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-05/0.1627, allocations: 25.7 kB / 0.5609 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.1628, allocations: 41.72 kB / 0.5609 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1628, allocations: 0 / 0.5609 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000171/0.163, allocations: 93.45 kB / 0.561 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.163, allocations: 8 kB / 0.561 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.163, allocations: 8.016 kB / 0.561 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.163, allocations: 0 / 0.561 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.309e-05/0.1631, allocations: 11.94 kB / 0.561 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1631, allocations: 0 / 0.561 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.13e-05/0.1631, allocations: 4 kB / 0.561 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.1631, allocations: 4 kB / 0.561 GB, free: 484 kB / 414.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 (7): * Single equations (assignments): 7 * 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.0001272/0.1633, allocations: 121.8 kB / 0.5612 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.1633, allocations: 15.83 kB / 0.5612 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.1633, allocations: 16.98 kB / 0.5612 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1633, allocations: 4 kB / 0.5612 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.1633, allocations: 0 / 0.5612 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1633, allocations: 0 / 0.5612 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.1635, allocations: 189.6 kB / 0.5614 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.1635, allocations: 4.25 kB / 0.5614 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.1635, allocations: 11.94 kB / 0.5614 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1635, allocations: 0 / 0.5614 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1635, allocations: 3.984 kB / 0.5614 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1635, allocations: 0 / 0.5614 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1635, allocations: 0 / 0.5614 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.1637, allocations: 113.1 kB / 0.5615 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.1638, allocations: 85 kB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.1638, allocations: 4 kB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.356e-05/0.1639, allocations: 0 / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.1639, allocations: 3.984 kB / 0.5616 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.1639, allocations: 11.94 kB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.164, allocations: 136.9 kB / 0.5617 GB, free: 15.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.164, allocations: 0 / 0.5617 GB, free: 15.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.1643, allocations: 23.92 kB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001922/0.1662, allocations: 0.9408 MB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.1664, allocations: 43.92 kB / 0.5627 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1664, allocations: 4.062 kB / 0.5627 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.053e-05/0.1664, allocations: 16 kB / 0.5627 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.1667, allocations: 27.97 kB / 0.5628 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.1686, allocations: 1.491 MB / 0.5642 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.1689, allocations: 0.6963 MB / 0.5649 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.41e-05/0.169, allocations: 20.53 kB / 0.5649 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/0.1691, allocations: 31.42 kB / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1691, allocations: 0 / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.1949, allocations: 3.111 MB / 0.568 GB, free: 9.328 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.224, allocations: 7.609 kB / 0.568 GB, free: 9.324 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --stepSize=0.00059952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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: 11.246270424220711]