Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001773/0.001773, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002389/0.002389, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.531/2.531, allocations: 227.4 MB / 246.9 MB, free: 9.062 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.414/0.414, allocations: 46.11 MB / 344.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001477, allocations: 76.88 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1468, allocations: 62.44 MB / 479.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.00434/0.1512, allocations: 1.985 MB / 481.9 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.1535, allocations: 1.063 MB / 483 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.1536, allocations: 0 / 483 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.154, allocations: 35.84 kB / 483 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.1544, allocations: 79.67 kB / 483.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.1548, allocations: 83.8 kB / 483.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.1551, allocations: 131.6 kB / 483.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.1553, allocations: 33.48 kB / 483.4 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.1555, allocations: 51.78 kB / 483.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.1556, allocations: 51.59 kB / 483.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.1557, allocations: 4 kB / 483.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.1558, allocations: 47.97 kB / 483.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.299e-05/0.1559, allocations: 23.92 kB / 483.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.156, allocations: 51.66 kB / 483.6 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.1563, allocations: 112 kB / 483.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1563, allocations: 0 / 483.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1563, allocations: 0 / 483.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.1563, allocations: 0 / 483.7 MB, free: 1.965 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001018/0.1574, allocations: 488.4 kB / 484.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/0.1574, allocations: 8.875 kB / 484.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.409e-05/0.1575, allocations: 16.75 kB / 484.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.158, allocations: 232.8 kB / 484.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.158, allocations: 4.375 kB / 484.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.158, allocations: 12.12 kB / 484.4 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.1585, allocations: 112.2 kB / 484.5 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1585, allocations: 0 / 484.5 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.1586, allocations: 0 / 484.5 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.1586, allocations: 4 kB / 484.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.1588, allocations: 55.84 kB / 484.6 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.1599, allocations: 0.5048 MB / 485.1 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.1603, allocations: 94.59 kB / 485.2 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.1604, allocations: 32.84 kB / 485.2 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.1605, allocations: 7.984 kB / 485.2 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003991/0.1609, allocations: 87.31 kB / 485.3 MB, free: 140 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.515e-06/0.1609, allocations: 0 / 485.3 MB, free: 140 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006554/0.1616, allocations: 149.3 kB / 485.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.1616, allocations: 55.34 kB / 485.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.1619, allocations: 199.1 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.162, allocations: 25.7 kB / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.1621, allocations: 120 kB / 485.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.1621, allocations: 27.56 kB / 485.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.483e-05/0.1622, allocations: 33.83 kB / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1624, allocations: 326.8 kB / 486.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.1626, allocations: 27.98 kB / 486.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.1627, allocations: 68.27 kB / 486.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.1631, allocations: 100.2 kB / 486.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1632, allocations: 0 / 486.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004454/0.1636, allocations: 137.5 kB / 486.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.1637, allocations: 7.938 kB / 486.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.1637, allocations: 7.984 kB / 486.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.1637, allocations: 0 / 486.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.1639, allocations: 23.94 kB / 486.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.1639, allocations: 4.453 kB / 486.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.164, allocations: 15.94 kB / 486.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.1641, allocations: 4 kB / 486.6 MB, free: 14.74 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001507/0.1642, allocations: 125.8 kB / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/0.1643, allocations: 23.83 kB / 486.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.829e-05/0.1644, allocations: 17.34 kB / 486.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1644, allocations: 3.938 kB / 486.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1644, allocations: 0 / 486.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1644, allocations: 0 / 486.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.1648, allocations: 217.5 kB / 487 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1648, allocations: 0 / 487 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.1649, allocations: 8 kB / 487 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1649, allocations: 3.938 kB / 487 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.165, allocations: 8 kB / 487 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.165, allocations: 7.938 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.165, allocations: 7.984 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005453/0.1656, allocations: 176.9 kB / 487.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.745e-05/0.1657, allocations: 92.89 kB / 487.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.1657, allocations: 0 / 487.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.271e-05/0.1658, allocations: 15.92 kB / 487.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.1659, allocations: 12.05 kB / 487.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.1659, allocations: 4 kB / 487.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.1661, allocations: 148.4 kB / 487.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1662, allocations: 0 / 487.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004224/0.1666, allocations: 24 kB / 487.5 MB, free: 13.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (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.001677/0.1683, allocations: 399.7 kB / 487.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000372/0.1687, allocations: 87.95 kB / 488 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.1687, allocations: 0 / 488 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.1688, allocations: 39.92 kB / 488 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.1693, allocations: 39.53 kB / 488.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009752/0.1703, allocations: 327.3 kB / 488.4 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/0.171, allocations: 0.7126 MB / 489.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/0.1711, allocations: 23.42 kB / 489.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1711, allocations: 0 / 489.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of Templates: time 0.00712/0.1782, allocations: 2.191 MB / 491.3 MB, free: 10.04 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches