Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001388/0.001388, allocations: 116.9 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 204.5 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2462/0.2462, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 75.88 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1462, allocations: 62.44 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.00371/0.15, allocations: 1.935 MB / 483.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.1518, allocations: 1.064 MB / 484.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.152, allocations: 0 / 484.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004225/0.1524, allocations: 47.7 kB / 484.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003794/0.1528, allocations: 99.47 kB / 484.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.1531, allocations: 95.66 kB / 484.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.1534, allocations: 143.6 kB / 484.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.1535, allocations: 25.55 kB / 484.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1537, allocations: 59.7 kB / 484.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.1538, allocations: 47.72 kB / 485 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.1538, allocations: 15.94 kB / 485 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1539, allocations: 47.98 kB / 485 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.735e-05/0.154, allocations: 23.91 kB / 485 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.715e-05/0.1541, allocations: 51.61 kB / 485.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.1544, allocations: 159.5 kB / 485.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1544, allocations: 0 / 485.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1544, allocations: 0 / 485.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.1544, allocations: 0 / 485.3 MB, free: 0.7188 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.0007597/0.1552, allocations: 484.4 kB / 485.7 MB, free: 196 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.1552, allocations: 16.03 kB / 485.7 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.348e-05/0.1553, allocations: 16.73 kB / 485.8 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.1557, allocations: 237.5 kB / 486 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.1557, allocations: 8.375 kB / 486 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.1558, allocations: 8.125 kB / 486 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.156, allocations: 114.7 kB / 486.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.156, allocations: 8 kB / 486.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1561, allocations: 0 / 486.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1561, allocations: 0 / 486.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.1562, allocations: 47.97 kB / 486.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006179/0.1568, allocations: 0.5126 MB / 486.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.1572, allocations: 86.59 kB / 486.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.021e-05/0.1573, allocations: 40.83 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1573, allocations: 0 / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.1575, allocations: 91.36 kB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.1575, allocations: 0 / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004183/0.1579, allocations: 145.3 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.158, allocations: 59.34 kB / 487.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.1582, allocations: 199.1 kB / 487.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.1582, allocations: 25.7 kB / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.901e-05/0.1583, allocations: 116 kB / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.1584, allocations: 35.55 kB / 487.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.1584, allocations: 29.7 kB / 487.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1586, allocations: 326.8 kB / 487.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/0.1587, allocations: 27.92 kB / 487.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.934e-05/0.1588, allocations: 64.27 kB / 487.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.159, allocations: 96.2 kB / 488 MB, free: 13.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.159, allocations: 3.938 kB / 488 MB, free: 13.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002587/0.1592, allocations: 141.4 kB / 488.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1593, allocations: 4 kB / 488.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1593, allocations: 3.984 kB / 488.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1593, allocations: 4 kB / 488.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1594, allocations: 23.88 kB / 488.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1594, allocations: 7.984 kB / 488.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.641e-05/0.1595, allocations: 12.41 kB / 488.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1595, allocations: 4 kB / 488.2 MB, free: 13.49 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.00011/0.1596, allocations: 125.9 kB / 488.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.1597, allocations: 19.8 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.1597, allocations: 13.41 kB / 488.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.1597, allocations: 11.88 kB / 488.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1597, allocations: 0 / 488.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1597, allocations: 0 / 488.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.1599, allocations: 221.4 kB / 488.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.16, allocations: 0 / 488.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.13e-05/0.16, allocations: 12 kB / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.16, allocations: 0 / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1601, allocations: 8 kB / 488.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1601, allocations: 3.938 kB / 488.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1601, allocations: 0 / 488.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.1604, allocations: 176.9 kB / 488.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.1605, allocations: 96.89 kB / 488.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.1605, allocations: 4 kB / 488.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.489e-05/0.1606, allocations: 19.98 kB / 488.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.1606, allocations: 4 kB / 488.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.1607, allocations: 3.984 kB / 488.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1608, allocations: 148.4 kB / 489.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1608, allocations: 0 / 489.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.161, allocations: 24 kB / 489.1 MB, free: 12.52 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.001047/0.1621, allocations: 398.7 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.1624, allocations: 91.77 kB / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1624, allocations: 0 / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.1625, allocations: 35.92 kB / 489.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.1628, allocations: 38.97 kB / 489.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.1634, allocations: 263.6 kB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.1637, allocations: 0.7164 MB / 490.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.176e-05/0.1638, allocations: 21.39 kB / 490.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.1638, allocations: 15.44 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1638, allocations: 4 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of Templates: time 0.004653/0.1685, allocations: 1.887 MB / 492.5 MB, free: 9.168 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches