Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001532/0.001532, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001945/0.001945, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2305/0.2305, allocations: 46.1 MB / 343.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 76.84 kB / 416.9 MB, free: 20.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1258, allocations: 62.45 MB / 479.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003481/0.1294, allocations: 1.746 MB / 481 MB, free: 4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.1312, allocations: 0.9979 MB / 482 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.995e-05/0.1313, allocations: 3.938 kB / 482 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.1316, allocations: 51.86 kB / 482.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.132, allocations: 87.73 kB / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.1322, allocations: 59.81 kB / 482.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.1324, allocations: 99.69 kB / 482.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.1325, allocations: 4.234 kB / 482.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.1326, allocations: 43.78 kB / 482.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.1327, allocations: 35.78 kB / 482.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.1327, allocations: 0 / 482.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.1328, allocations: 28 kB / 482.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.565e-05/0.1329, allocations: 39.83 kB / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.033e-05/0.133, allocations: 39.67 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.1332, allocations: 123.8 kB / 482.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1332, allocations: 0 / 482.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1332, allocations: 3.938 kB / 482.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1332, allocations: 0 / 482.7 MB, free: 2.387 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005871/0.1338, allocations: 426.9 kB / 483.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1338, allocations: 8.875 kB / 483.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.203e-05/0.1339, allocations: 16.75 kB / 483.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.1342, allocations: 224.8 kB / 483.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1342, allocations: 384 / 483.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.1342, allocations: 8.125 kB / 483.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.1344, allocations: 49.67 kB / 483.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1344, allocations: 0 / 483.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1344, allocations: 0 / 483.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1344, allocations: 4 kB / 483.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.09e-05/0.1345, allocations: 19.92 kB / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.1347, allocations: 185.7 kB / 483.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.1349, allocations: 54.61 kB / 483.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.1349, allocations: 24.78 kB / 483.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.135, allocations: 4 kB / 483.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.1352, allocations: 71.33 kB / 483.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.1353, allocations: 7.938 kB / 483.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003082/0.1356, allocations: 97.48 kB / 483.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.1356, allocations: 51.41 kB / 483.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.1359, allocations: 267 kB / 484.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1359, allocations: 25.7 kB / 484.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.522e-05/0.136, allocations: 112.1 kB / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.1361, allocations: 19.83 kB / 484.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.1361, allocations: 17.72 kB / 484.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1363, allocations: 326.8 kB / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.606e-05/0.1363, allocations: 15.98 kB / 484.6 MB, free: 176 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.501e-05/0.1364, allocations: 33.66 kB / 484.7 MB, free: 136 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1365, allocations: 41.7 kB / 484.7 MB, free: 88 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1365, allocations: 0 / 484.7 MB, free: 88 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002095/0.1367, allocations: 89.48 kB / 484.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1368, allocations: 11.98 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1368, allocations: 4 kB / 484.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1368, allocations: 0 / 484.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.1369, allocations: 8 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1369, allocations: 0 / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.137, allocations: 11.84 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.137, allocations: 0 / 484.8 MB, free: 15.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 (7): * Single equations (assignments): 7 * 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.0001198/0.1371, allocations: 137.8 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.1371, allocations: 15.89 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.691e-05/0.1372, allocations: 21 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1372, allocations: 0 / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1372, allocations: 3.938 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1372, allocations: 0 / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.1374, allocations: 209.4 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1374, allocations: 0 / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-05/0.1375, allocations: 4.297 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.1375, allocations: 7.984 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1375, allocations: 4 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1375, allocations: 0 / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1375, allocations: 4 kB / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.1377, allocations: 113 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.1378, allocations: 88.92 kB / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.1378, allocations: 3.938 kB / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.935e-05/0.1379, allocations: 0 / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.1379, allocations: 7.984 kB / 485.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1379, allocations: 0 / 485.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002367/0.1382, allocations: 212.4 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1382, allocations: 3.938 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.1384, allocations: 19.98 kB / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001057/0.1395, allocations: 411.8 kB / 486.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001642/0.1397, allocations: 35.98 kB / 486.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1397, allocations: 0 / 486.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.563e-05/0.1398, allocations: 23.92 kB / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.1401, allocations: 31.98 kB / 486.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005226/0.1406, allocations: 296.2 kB / 486.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.1409, allocations: 0.7121 MB / 487.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.673e-05/0.141, allocations: 16.53 kB / 487.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.141, allocations: 15.44 kB / 487.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.141, allocations: 0 / 487.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of Templates: time 0.004674/0.1457, allocations: 1.468 MB / 488.7 MB, free: 12.12 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches