Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009026/0.0009026, allocations: 95.19 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 205.5 kB / 18.28 MB, free: 5.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2299/0.2299, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002889/0.0002889, allocations: 12 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1347, allocations: 63.57 MB / 483.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002487/0.1372, allocations: 1.407 MB / 484.5 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.1394, allocations: 0.9707 MB / 485.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.27e-05/0.1395, allocations: 0 / 485.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003836/0.1399, allocations: 59.81 kB / 485.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.1403, allocations: 83.72 kB / 485.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.1405, allocations: 59.88 kB / 485.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.1407, allocations: 103.6 kB / 485.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.151e-05/0.1408, allocations: 4.234 kB / 485.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1409, allocations: 39.8 kB / 485.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.725e-05/0.141, allocations: 35.83 kB / 485.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.1411, allocations: 4 kB / 485.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.1412, allocations: 28 kB / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.512e-05/0.1413, allocations: 31.78 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.23e-05/0.1414, allocations: 69.38 kB / 486 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.1416, allocations: 119.8 kB / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1417, allocations: 0 / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1417, allocations: 0 / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1417, allocations: 0 / 486.1 MB, free: 1.102 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.0006493/0.1423, allocations: 415 kB / 486.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.1424, allocations: 8.875 kB / 486.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.1425, allocations: 16.75 kB / 486.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.1428, allocations: 220.8 kB / 486.7 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1428, allocations: 4.375 kB / 486.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.1429, allocations: 4.125 kB / 486.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.1431, allocations: 49.67 kB / 486.8 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1431, allocations: 0 / 486.8 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1431, allocations: 8 kB / 486.8 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1431, allocations: 0 / 486.8 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.678e-05/0.1432, allocations: 15.98 kB / 486.8 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002647/0.1435, allocations: 189.7 kB / 487 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.1438, allocations: 54.56 kB / 487.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.858e-05/0.1439, allocations: 24.78 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.1439, allocations: 4 kB / 487.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/0.1441, allocations: 63.39 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.1441, allocations: 3.938 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003712/0.1445, allocations: 109.4 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.1446, allocations: 51.41 kB / 487.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.145, allocations: 271 kB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.145, allocations: 29.7 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.1451, allocations: 112.1 kB / 487.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.1452, allocations: 15.81 kB / 487.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.1452, allocations: 9.719 kB / 487.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1454, allocations: 330.8 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.802e-05/0.1455, allocations: 15.98 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.343e-05/0.1456, allocations: 29.69 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.1457, allocations: 45.66 kB / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1457, allocations: 4 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000222/0.1459, allocations: 85.42 kB / 488.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.146, allocations: 8 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.146, allocations: 0 / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.146, allocations: 0 / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1461, allocations: 11.94 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1461, allocations: 4 kB / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.345e-05/0.1462, allocations: 11.95 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1462, allocations: 8 kB / 488.3 MB, free: 14.67 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.0001491/0.1464, allocations: 133.8 kB / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.1464, allocations: 15.8 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.033e-05/0.1465, allocations: 17 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1465, allocations: 0 / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.1465, allocations: 0 / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.1465, allocations: 7.984 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.1468, allocations: 197.6 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1468, allocations: 0 / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.1468, allocations: 8 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1468, allocations: 0 / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1468, allocations: 0 / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.1468, allocations: 0 / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1469, allocations: 4 kB / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1471, allocations: 117.1 kB / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/0.1472, allocations: 92.91 kB / 488.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.1472, allocations: 12 kB / 488.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.846e-05/0.1473, allocations: 8 kB / 488.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.1473, allocations: 0 / 488.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1474, allocations: 4 kB / 488.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002505/0.1476, allocations: 208.4 kB / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1477, allocations: 0 / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003354/0.148, allocations: 20 kB / 489.1 MB, free: 13.75 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.001297/0.1493, allocations: 400.9 kB / 489.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.1495, allocations: 51.91 kB / 489.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1496, allocations: 0 / 489.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.013e-05/0.1496, allocations: 16.12 kB / 489.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.15, allocations: 41.22 kB / 489.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000633/0.1507, allocations: 289.8 kB / 489.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.1511, allocations: 0.716 MB / 490.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.928e-05/0.1512, allocations: 12.55 kB / 490.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.975e-05/0.1512, allocations: 15.44 kB / 490.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1513, allocations: 0 / 490.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of Templates: time 0.005887/0.1571, allocations: 1.446 MB / 492.1 MB, free: 10.87 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches