Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00115/0.00115, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001539/0.001539, allocations: 206.1 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2671/0.2671, allocations: 46.2 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002804, allocations: 16.22 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1375, allocations: 63.57 MB / 483.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002527/0.14, allocations: 1.536 MB / 484.6 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00271/0.1428, allocations: 1.655 MB / 486.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.704e-05/0.1429, allocations: 0 / 486.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.1432, allocations: 51.75 kB / 486.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.1436, allocations: 111.6 kB / 486.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.1438, allocations: 91.84 kB / 486.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.1441, allocations: 183.4 kB / 486.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.174e-05/0.1442, allocations: 13.67 kB / 486.7 MB, free: 492 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1443, allocations: 75.58 kB / 486.8 MB, free: 416 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.1445, allocations: 87.55 kB / 486.9 MB, free: 328 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.1445, allocations: 4 kB / 486.9 MB, free: 324 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.1447, allocations: 99.94 kB / 487 MB, free: 224 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.497e-05/0.1448, allocations: 39.77 kB / 487 MB, free: 184 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.723e-05/0.1449, allocations: 85.3 kB / 487.1 MB, free: 92 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.1452, allocations: 219.6 kB / 487.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1453, allocations: 0 / 487.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.1453, allocations: 0 / 487.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1453, allocations: 3.938 kB / 487.3 MB, free: 15.87 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007966/0.1461, allocations: 474.7 kB / 487.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1461, allocations: 8.875 kB / 487.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.1462, allocations: 16.75 kB / 487.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.1465, allocations: 252.9 kB / 488.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1465, allocations: 4.375 kB / 488.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.1466, allocations: 8.125 kB / 488.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.1468, allocations: 105 kB / 488.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1468, allocations: 0 / 488.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.1469, allocations: 4 kB / 488.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.1469, allocations: 0 / 488.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.147, allocations: 31.92 kB / 488.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.1473, allocations: 222.5 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.1475, allocations: 105.2 kB / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.1477, allocations: 45.62 kB / 488.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.1477, allocations: 7.875 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002496/0.148, allocations: 109.1 kB / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.148, allocations: 0 / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.000464/0.1484, allocations: 169.8 kB / 488.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.1486, allocations: 132.5 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.1489, allocations: 233.6 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1489, allocations: 29.7 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.819e-05/0.149, allocations: 124.1 kB / 489.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.1491, allocations: 27.56 kB / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.1492, allocations: 21.7 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.1494, allocations: 326.8 kB / 489.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.972e-05/0.1495, allocations: 31.92 kB / 489.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.1496, allocations: 69.12 kB / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.1499, allocations: 91.39 kB / 489.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1499, allocations: 0 / 489.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002876/0.1502, allocations: 137.3 kB / 490.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.1503, allocations: 7.938 kB / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.1503, allocations: 8.062 kB / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1503, allocations: 0 / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.1504, allocations: 27.92 kB / 490.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.1505, allocations: 0 / 490.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.165e-05/0.1505, allocations: 11.91 kB / 490.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.1506, allocations: 4 kB / 490.1 MB, free: 12.77 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001481/0.1507, allocations: 138.3 kB / 490.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.1508, allocations: 15.81 kB / 490.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.101e-05/0.1508, allocations: 28.98 kB / 490.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1508, allocations: 0 / 490.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1509, allocations: 4 kB / 490.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1509, allocations: 0 / 490.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.1511, allocations: 225.4 kB / 490.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1511, allocations: 4.25 kB / 490.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.1511, allocations: 11.92 kB / 490.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1511, allocations: 4 kB / 490.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1512, allocations: 4 kB / 490.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1512, allocations: 0 / 490.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.1512, allocations: 3.984 kB / 490.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.1515, allocations: 181.6 kB / 490.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.545e-05/0.1516, allocations: 104.8 kB / 490.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.1516, allocations: 8 kB / 490.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.1517, allocations: 4 kB / 490.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.1518, allocations: 7.984 kB / 490.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.1518, allocations: 8 kB / 490.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001923/0.152, allocations: 184.5 kB / 491 MB, free: 11.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.152, allocations: 0 / 491 MB, free: 11.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002994/0.1523, allocations: 52 kB / 491.1 MB, free: 11.71 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.00127/0.1536, allocations: 486.2 kB / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002474/0.1538, allocations: 83.89 kB / 491.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1538, allocations: 3.938 kB / 491.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.641e-05/0.1539, allocations: 40.05 kB / 491.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.1543, allocations: 63.2 kB / 491.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005931/0.155, allocations: 315 kB / 492.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.1553, allocations: 0.7244 MB / 492.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.1554, allocations: 34.03 kB / 492.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.1555, allocations: 31.42 kB / 492.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1555, allocations: 0 / 492.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of Templates: time 0.006694/0.1622, allocations: 2.997 MB / 495.8 MB, free: 7.078 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches