Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001191/0.001191, allocations: 114.8 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.001279/0.001279, 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.381/1.381, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2229/0.2229, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 79.88 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1283, allocations: 62.44 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003588/0.1319, allocations: 1.824 MB / 483.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.1344, allocations: 1.704 MB / 485 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.88e-05/0.1345, allocations: 7.938 kB / 485 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000288/0.1349, allocations: 47.69 kB / 485 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003746/0.1352, allocations: 139.4 kB / 485.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.1355, allocations: 107.6 kB / 485.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.1358, allocations: 195.5 kB / 485.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1359, allocations: 17.67 kB / 485.5 MB, free: 488 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.136, allocations: 87.56 kB / 485.6 MB, free: 400 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.1362, allocations: 83.55 kB / 485.7 MB, free: 316 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.1363, allocations: 8 kB / 485.7 MB, free: 308 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.1364, allocations: 111.9 kB / 485.8 MB, free: 196 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.1365, allocations: 35.84 kB / 485.8 MB, free: 160 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.202e-05/0.1366, allocations: 67.53 kB / 485.9 MB, free: 92 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.1369, allocations: 227.4 kB / 486.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1369, allocations: 4 kB / 486.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1369, allocations: 0 / 486.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1369, allocations: 0 / 486.1 MB, free: 15.86 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.0006597/0.1376, allocations: 494.5 kB / 486.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.1376, allocations: 8.031 kB / 486.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/0.1377, allocations: 20.66 kB / 486.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.138, allocations: 256.9 kB / 486.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1381, allocations: 8.359 kB / 486.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.1381, allocations: 12.12 kB / 486.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.1383, allocations: 97.02 kB / 487 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1383, allocations: 4 kB / 487 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1383, allocations: 0 / 487 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1383, allocations: 0 / 487 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.802e-05/0.1384, allocations: 27.98 kB / 487 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.1386, allocations: 222.5 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.1389, allocations: 105.2 kB / 487.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.854e-05/0.139, allocations: 49.62 kB / 487.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.139, allocations: 0 / 487.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.1392, allocations: 109 kB / 487.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.1392, allocations: 3.938 kB / 487.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004182/0.1396, allocations: 165.8 kB / 487.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.1397, allocations: 132.5 kB / 487.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.14, allocations: 237.6 kB / 488 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.14, allocations: 25.7 kB / 488 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.14, allocations: 116.1 kB / 488.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.1401, allocations: 35.62 kB / 488.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.1401, allocations: 29.7 kB / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1403, allocations: 330.8 kB / 488.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.227e-05/0.1403, allocations: 36.05 kB / 488.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1404, allocations: 73.06 kB / 488.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.1406, allocations: 87.36 kB / 488.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1406, allocations: 4.031 kB / 488.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002538/0.1409, allocations: 149.2 kB / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1409, allocations: 4 kB / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1409, allocations: 4 kB / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1409, allocations: 0 / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.141, allocations: 19.98 kB / 488.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.1411, allocations: 4 kB / 488.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.1411, allocations: 4 kB / 488.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1412, allocations: 12 kB / 488.9 MB, free: 12.73 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.0001007/0.1413, allocations: 137.8 kB / 489.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.1413, allocations: 19.72 kB / 489.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.398e-05/0.1414, allocations: 20.98 kB / 489.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1414, allocations: 0 / 489.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1414, allocations: 0 / 489.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.1414, allocations: 4 kB / 489.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.1416, allocations: 225.6 kB / 489.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1416, allocations: 4 kB / 489.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.1416, allocations: 11.98 kB / 489.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1416, allocations: 4 kB / 489.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1416, allocations: 4 kB / 489.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1416, allocations: 0 / 489.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1416, allocations: 3.938 kB / 489.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.1419, allocations: 169.7 kB / 489.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.142, allocations: 96.91 kB / 489.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.142, allocations: 8.031 kB / 489.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.1421, allocations: 15.92 kB / 489.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.1421, allocations: 4 kB / 489.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.1422, allocations: 7.984 kB / 489.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.1423, allocations: 180.5 kB / 489.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1423, allocations: 0 / 489.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1426, allocations: 48 kB / 489.9 MB, free: 11.69 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.00106/0.1437, allocations: 496.4 kB / 490.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.1439, allocations: 87.89 kB / 490.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1439, allocations: 0 / 490.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.621e-05/0.144, allocations: 39.92 kB / 490.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.1444, allocations: 67.59 kB / 490.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.1448, allocations: 283.9 kB / 490.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.1451, allocations: 0.7204 MB / 491.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.284e-05/0.1452, allocations: 33.52 kB / 491.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.1453, allocations: 35.36 kB / 491.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1453, allocations: 3.938 kB / 491.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of Templates: time 0.006122/0.1514, allocations: 3.115 MB / 494.7 MB, free: 6.953 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches