Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009197/0.0009199, allocations: 97.94 kB / 17.01 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009572/0.0009573, allocations: 194.1 kB / 17.9 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.552/1.552, allocations: 227.7 MB / 246.4 MB, free: 9.812 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 46.18 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002835, allocations: 8.219 kB / 418.8 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1401, allocations: 63.58 MB / 482.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002075/0.1422, allocations: 1.423 MB / 483.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1437, allocations: 0.9324 MB / 484.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.154e-05/0.1437, allocations: 4 kB / 484.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.144, allocations: 51.8 kB / 484.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.1443, allocations: 79.73 kB / 484.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.1445, allocations: 63.81 kB / 485 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.1446, allocations: 91.69 kB / 485.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.488e-05/0.1447, allocations: 4 kB / 485.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.659e-05/0.1448, allocations: 47.77 kB / 485.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.126e-05/0.1449, allocations: 31.86 kB / 485.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1449, allocations: 4 kB / 485.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.435e-05/0.145, allocations: 39.97 kB / 485.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.1451, allocations: 23.92 kB / 485.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.599e-05/0.1451, allocations: 49.56 kB / 485.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.1453, allocations: 104.1 kB / 485.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1453, allocations: 0 / 485.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1453, allocations: 0 / 485.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1454, allocations: 0 / 485.4 MB, free: 1.531 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000565/0.1459, allocations: 422.7 kB / 485.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.146, allocations: 12.03 kB / 485.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.146, allocations: 15.81 kB / 485.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.1463, allocations: 219.7 kB / 486 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1463, allocations: 3.938 kB / 486 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.1463, allocations: 4 kB / 486 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.1465, allocations: 61.61 kB / 486.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1465, allocations: 0 / 486.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1465, allocations: 0 / 486.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1466, allocations: 0 / 486.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.899e-05/0.1466, allocations: 19.98 kB / 486.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.147, allocations: 296.9 kB / 486.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.1472, allocations: 62.61 kB / 486.5 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/0.1472, allocations: 16.86 kB / 486.5 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.1472, allocations: 7.984 kB / 486.5 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.1474, allocations: 67.39 kB / 486.5 MB, free: 180 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.1474, allocations: 0 / 486.5 MB, free: 180 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005142/0.1479, allocations: 181 kB / 486.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.148, allocations: 55.34 kB / 486.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.1483, allocations: 270.9 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.038e-05/0.1483, allocations: 29.7 kB / 487.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.1484, allocations: 124.1 kB / 487.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.1484, allocations: 23.7 kB / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.1484, allocations: 0 / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1485, allocations: 330.8 kB / 487.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.342e-05/0.1486, allocations: 19.98 kB / 487.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.063e-05/0.1487, allocations: 41.64 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.304e-05/0.1487, allocations: 20 kB / 487.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1487, allocations: 4 kB / 487.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001669/0.1489, allocations: 101.4 kB / 487.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1489, allocations: 10.5 kB / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.149, allocations: 3.984 kB / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.149, allocations: 0 / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.121e-05/0.1491, allocations: 12 kB / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1491, allocations: 4 kB / 487.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.1492, allocations: 7.938 kB / 487.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1493, allocations: 7.953 kB / 487.8 MB, free: 14.89 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.1494, allocations: 141.8 kB / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.1494, allocations: 19.8 kB / 487.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.028e-05/0.1494, allocations: 13.41 kB / 487.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1495, allocations: 4.188 kB / 487.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1495, allocations: 0 / 487.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1495, allocations: 7.922 kB / 487.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.1499, allocations: 403.3 kB / 488.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.1499, allocations: 8.016 kB / 488.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.1499, allocations: 12.31 kB / 488.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1499, allocations: 4 kB / 488.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.15, allocations: 0 / 488.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.15, allocations: 4 kB / 488.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.15, allocations: 3.953 kB / 488.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.1502, allocations: 212.4 kB / 488.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.1503, allocations: 100.9 kB / 488.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.1503, allocations: 0 / 488.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.1504, allocations: 4 kB / 488.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.1504, allocations: 11.94 kB / 488.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.1504, allocations: 4 kB / 488.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.1506, allocations: 212.3 kB / 488.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1506, allocations: 0 / 488.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1509, allocations: 24 kB / 488.9 MB, free: 13.62 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009882/0.1519, allocations: 449.8 kB / 489.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.152, allocations: 59.91 kB / 489.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.152, allocations: 64 / 489.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.492e-05/0.1521, allocations: 31.98 kB / 489.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.1524, allocations: 27.92 kB / 489.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/0.1529, allocations: 314.8 kB / 489.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.1532, allocations: 0.7199 MB / 490.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.294e-05/0.1533, allocations: 13.19 kB / 490.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.1533, allocations: 19.44 kB / 490.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1533, allocations: 0 / 490.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of Templates: time 0.0042/0.1575, allocations: 1.651 MB / 492.2 MB, free: 10.47 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches