Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001024/0.001024, allocations: 111.5 kB / 17.98 MB, free: 5.215 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 209.8 kB / 18.92 MB, free: 4.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 227.4 MB / 247.1 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 46.09 MB / 344.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 73.55 kB / 417.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1518, allocations: 62.45 MB / 480.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003874/0.1557, allocations: 1.777 MB / 481.9 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003153/0.1589, allocations: 1.596 MB / 483.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.492e-05/0.159, allocations: 4 kB / 483.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.1593, allocations: 31.84 kB / 483.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.1596, allocations: 83.73 kB / 483.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.1599, allocations: 67.86 kB / 483.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.1601, allocations: 107.6 kB / 483.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.269e-05/0.1602, allocations: 8 kB / 483.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1603, allocations: 55.7 kB / 483.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.1605, allocations: 47.77 kB / 483.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.1605, allocations: 8 kB / 483.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.1607, allocations: 103.9 kB / 484 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.778e-05/0.1608, allocations: 19.91 kB / 484.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.1609, allocations: 39.8 kB / 484.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.1611, allocations: 128 kB / 484.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.1611, allocations: 3.938 kB / 484.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1612, allocations: 0 / 484.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1612, allocations: 0 / 484.2 MB, free: 1.547 MB / 350.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.0005824/0.1618, allocations: 415.1 kB / 484.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1618, allocations: 16.03 kB / 484.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.1619, allocations: 8.844 kB / 484.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.1621, allocations: 207.8 kB / 484.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.1622, allocations: 7.938 kB / 484.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1622, allocations: 7.922 kB / 484.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.1624, allocations: 75.33 kB / 485 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1624, allocations: 0 / 485 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1624, allocations: 4 kB / 485 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.1625, allocations: 8 kB / 485 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1626, allocations: 15.98 kB / 485 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.163, allocations: 284.9 kB / 485.3 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.1632, allocations: 62.61 kB / 485.3 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.094e-05/0.1633, allocations: 24.84 kB / 485.3 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.1633, allocations: 4 kB / 485.3 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.1636, allocations: 63.39 kB / 485.4 MB, free: 204 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.674e-06/0.1636, allocations: 0 / 485.4 MB, free: 204 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006555/0.1642, allocations: 177.1 kB / 485.6 MB, free: 20 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.1643, allocations: 81.05 kB / 485.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.1645, allocations: 167.9 kB / 485.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.1646, allocations: 29.7 kB / 485.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/0.1647, allocations: 96.14 kB / 485.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.1647, allocations: 27.64 kB / 486 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.1648, allocations: 21.72 kB / 486 MB, free: 15.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1649, allocations: 322.8 kB / 486.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.165, allocations: 19.98 kB / 486.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.1651, allocations: 54.44 kB / 486.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.1653, allocations: 57.7 kB / 486.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1653, allocations: 0 / 486.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002709/0.1656, allocations: 101.6 kB / 486.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1656, allocations: 4 kB / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1656, allocations: 80 / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1657, allocations: 4 kB / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.1658, allocations: 15.98 kB / 486.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1658, allocations: 11.98 kB / 486.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.304e-05/0.1659, allocations: 8 kB / 486.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.1659, allocations: 0 / 486.6 MB, free: 14.95 MB / 366.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.0001187/0.166, allocations: 128.4 kB / 486.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.1661, allocations: 11.81 kB / 486.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/0.1662, allocations: 12.72 kB / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1662, allocations: 4 kB / 486.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1662, allocations: 7.875 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1662, allocations: 0 / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.1668, allocations: 399.7 kB / 487.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1668, allocations: 0 / 487.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.1669, allocations: 19.92 kB / 487.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1669, allocations: 0 / 487.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.1669, allocations: 4 kB / 487.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1669, allocations: 0 / 487.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1669, allocations: 0 / 487.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.1673, allocations: 204.3 kB / 487.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.1673, allocations: 92.94 kB / 487.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.1674, allocations: 0 / 487.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.1675, allocations: 4 kB / 487.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.1676, allocations: 11.98 kB / 487.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.1676, allocations: 4 kB / 487.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.1677, allocations: 130.5 kB / 487.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1678, allocations: 0 / 487.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004791/0.1682, allocations: 47.98 kB / 487.6 MB, free: 13.78 MB / 366.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.001811/0.1701, allocations: 0.535 MB / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.1703, allocations: 63.91 kB / 488.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.1704, allocations: 4 kB / 488.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.1705, allocations: 31.92 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.171, allocations: 34.66 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005447/0.1716, allocations: 252.6 kB / 488.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.1719, allocations: 0.6963 MB / 489.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.172, allocations: 19.42 kB / 489.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.172, allocations: 0 / 489.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of Templates: time 0.005743/0.1777, allocations: 2.41 MB / 491.7 MB, free: 9.871 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches