Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.0008367/0.0008367, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008604/0.0008604, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9169/0.9169, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2488/0.2488, allocations: 34.25 MB / 294.8 MB, free: 0.6953 MB / 266.7 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.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.538e-05, allocations: 10.16 kB / 442.3 MB, free: 1.465 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.1611/0.1611, allocations: 1.695 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1625, allocations: 1.679 MB / 445.6 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.893e-05/0.1626, allocations: 0 / 445.6 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.1628, allocations: 38.64 kB / 445.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.163, allocations: 108.5 kB / 445.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001073/0.1631, allocations: 76.7 kB / 445.9 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.1633, allocations: 114.5 kB / 446 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.815e-05/0.1633, allocations: 5.688 kB / 446 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.458e-05/0.1634, allocations: 53.83 kB / 446 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.211e-05/0.1635, allocations: 40.52 kB / 446.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.1635, allocations: 9.344 kB / 446.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1636, allocations: 106.8 kB / 446.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.1637, allocations: 24.89 kB / 446.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.1637, allocations: 19.39 kB / 446.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.1639, allocations: 170.4 kB / 446.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1639, allocations: 0 / 446.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1639, allocations: 0 / 446.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1639, allocations: 0 / 446.4 MB, free: 42.53 MB / 410.7 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.0003611/0.1642, allocations: 357.2 kB / 446.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1643, allocations: 16.94 kB / 446.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.137e-05/0.1643, allocations: 30.75 kB / 446.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.1643, allocations: 18.25 kB / 446.8 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.1645, allocations: 146.3 kB / 446.9 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1645, allocations: 11.09 kB / 446.9 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.1645, allocations: 2.672 kB / 447 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.1646, allocations: 98.61 kB / 447 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1647, allocations: 2.75 kB / 447.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.1647, allocations: 0.8438 kB / 447.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1647, allocations: 0 / 447.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.508e-05/0.1647, allocations: 23.3 kB / 447.1 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.1649, allocations: 249.2 kB / 447.3 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.759e-05/0.165, allocations: 67.7 kB / 447.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.1651, allocations: 17.48 kB / 447.4 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.1651, allocations: 3.938 kB / 447.4 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.501e-05/0.1652, allocations: 70.2 kB / 447.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.1652, allocations: 0 / 447.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003366/0.1655, allocations: 188.4 kB / 447.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.1655, allocations: 77.11 kB / 447.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.655e-05/0.1656, allocations: 168.6 kB / 447.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/0.1656, allocations: 25.7 kB / 447.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.433e-05/0.1656, allocations: 104.5 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.1657, allocations: 24.02 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.1657, allocations: 21.78 kB / 448.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.389e-05/0.1657, allocations: 328.7 kB / 448.4 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.952e-05/0.1657, allocations: 24.55 kB / 448.4 MB, free: 40.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.496e-05/0.1658, allocations: 68.52 kB / 448.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.978e-05/0.1658, allocations: 66.28 kB / 448.5 MB, free: 40.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1658, allocations: 0 / 448.5 MB, free: 40.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001012/0.1659, allocations: 107.1 kB / 448.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.1659, allocations: 5.312 kB / 448.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.166, allocations: 0 / 448.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.166, allocations: 0 / 448.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.256e-05/0.166, allocations: 17.23 kB / 448.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.166, allocations: 3.938 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.995e-05/0.166, allocations: 6.938 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1661, allocations: 5.344 kB / 448.7 MB, free: 40.57 MB / 410.7 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 4.518e-05/0.1661, allocations: 129.8 kB / 448.8 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.1661, allocations: 10.2 kB / 448.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.1662, allocations: 121.9 kB / 448.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1662, allocations: 2.375 kB / 448.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1662, allocations: 0 / 448.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1662, allocations: 3.422 kB / 449 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.1665, allocations: 369.2 kB / 449.3 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1665, allocations: 10.3 kB / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.1665, allocations: 12.41 kB / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1665, allocations: 0 / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1665, allocations: 2.688 kB / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1665, allocations: 0 / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1665, allocations: 6.875 kB / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.5e-05/0.1666, allocations: 210.4 kB / 449.5 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-06/0.1666, allocations: 13.05 kB / 449.6 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.1666, allocations: 4 kB / 449.6 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.1667, allocations: 2.781 kB / 449.6 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.1667, allocations: 13.97 kB / 449.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.1667, allocations: 5.688 kB / 449.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.974e-05/0.1667, allocations: 132.7 kB / 449.7 MB, free: 39.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1667, allocations: 0 / 449.7 MB, free: 39.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001931/0.1669, allocations: 54.73 kB / 449.8 MB, free: 39.75 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.0009175/0.1678, allocations: 1.232 MB / 451 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.168, allocations: 62.14 kB / 451.1 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.168, allocations: 0 / 451.1 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.636e-05/0.168, allocations: 27.8 kB / 451.1 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.1682, allocations: 39.08 kB / 451.1 MB, free: 38.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008482/0.1691, allocations: 1.601 MB / 452.7 MB, free: 37.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.052e-05/0.1691, allocations: 87.81 kB / 452.8 MB, free: 37.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.327e-05/0.1691, allocations: 20.02 kB / 452.8 MB, free: 37.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.1692, allocations: 39.78 kB / 452.9 MB, free: 37.42 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1692, allocations: 3.938 kB / 452.9 MB, free: 37.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/0.1858, allocations: 4.902 MB / 457.8 MB, free: 35.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.732/6.918, allocations: 12.81 kB / 457.8 MB, free: 35.84 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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: 8.879438403993845]