Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001082, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2201/0.2201, allocations: 46.11 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 82.97 kB / 417.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1491, allocations: 62.46 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003309/0.1524, allocations: 1.919 MB / 482 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.1541, allocations: 1.129 MB / 483.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.636e-05/0.1542, allocations: 0 / 483.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.1546, allocations: 159.5 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.1551, allocations: 187.3 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.1553, allocations: 115.6 kB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.1556, allocations: 243.3 kB / 483.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1557, allocations: 25.69 kB / 483.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1559, allocations: 107.6 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.156, allocations: 135.4 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.1561, allocations: 8 kB / 484.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.1562, allocations: 67.97 kB / 484.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.793e-05/0.1563, allocations: 51.83 kB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.606e-05/0.1564, allocations: 91.28 kB / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.1567, allocations: 215.5 kB / 484.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1567, allocations: 0 / 484.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1567, allocations: 0 / 484.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1567, allocations: 0 / 484.5 MB, free: 0.7578 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006955/0.1574, allocations: 0.541 MB / 485.1 MB, free: 172 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1574, allocations: 8.031 kB / 485.1 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.157e-05/0.1575, allocations: 24.66 kB / 485.1 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.1579, allocations: 279.4 kB / 485.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1579, allocations: 4.375 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.1579, allocations: 16.12 kB / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.1582, allocations: 111.3 kB / 485.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1582, allocations: 0 / 485.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.1583, allocations: 4 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.1583, allocations: 7.984 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.1584, allocations: 47.91 kB / 485.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.1591, allocations: 468.7 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.1595, allocations: 125.2 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1596, allocations: 45.83 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.1596, allocations: 4 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002701/0.1599, allocations: 117 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.1599, allocations: 3.938 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001284/0.1612, allocations: 492.5 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.1613, allocations: 81.11 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003783/0.1616, allocations: 375.3 kB / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.1617, allocations: 33.69 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.409e-05/0.1618, allocations: 140.5 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.993e-05/0.1619, allocations: 75.08 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.1619, allocations: 45.7 kB / 487.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.162, allocations: 342.8 kB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.1622, allocations: 51.97 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.1623, allocations: 95.34 kB / 488 MB, free: 13.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.1626, allocations: 163.5 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1626, allocations: 0 / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003825/0.163, allocations: 225.2 kB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.163, allocations: 7.938 kB / 488.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.163, allocations: 7.984 kB / 488.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1631, allocations: 0 / 488.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.1632, allocations: 47.92 kB / 488.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1632, allocations: 4.062 kB / 488.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.856e-05/0.1633, allocations: 11.94 kB / 488.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.1633, allocations: 11.98 kB / 488.5 MB, free: 12.52 MB / 366.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001431/0.1635, allocations: 157.8 kB / 488.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.1635, allocations: 35.56 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.685e-05/0.1636, allocations: 33.83 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1636, allocations: 4 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1636, allocations: 0 / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.1636, allocations: 3.984 kB / 488.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008086/0.1645, allocations: 0.7232 MB / 489.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1645, allocations: 0 / 489.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.607e-05/0.1646, allocations: 36.11 kB / 489.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1646, allocations: 11.88 kB / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1646, allocations: 4 kB / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1646, allocations: 4 kB / 489.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1646, allocations: 0 / 489.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004394/0.165, allocations: 428.6 kB / 489.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/0.1651, allocations: 96.83 kB / 490 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.1652, allocations: 11.98 kB / 490 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.1653, allocations: 4 kB / 490 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.1654, allocations: 27.91 kB / 490 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.1654, allocations: 8 kB / 490 MB, free: 10.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002473/0.1656, allocations: 277.9 kB / 490.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1657, allocations: 0 / 490.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003514/0.166, allocations: 51.98 kB / 490.4 MB, free: 10.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.00114/0.1672, allocations: 0.5104 MB / 490.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003555/0.1675, allocations: 163.8 kB / 491 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1675, allocations: 4.125 kB / 491 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.1677, allocations: 83.84 kB / 491.1 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.1682, allocations: 67.23 kB / 491.2 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007505/0.169, allocations: 0.5006 MB / 491.7 MB, free: 9.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.1693, allocations: 0.7636 MB / 492.4 MB, free: 8.531 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.1694, allocations: 33.92 kB / 492.5 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.1695, allocations: 35.42 kB / 492.5 MB, free: 8.465 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1695, allocations: 0 / 492.5 MB, free: 8.465 MB / 366.1 MB Notification: Performance of Templates: time 0.006318/0.1758, allocations: 3.119 MB / 495.6 MB, free: 5.379 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches