Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008142/0.000814, allocations: 96.11 kB / 18 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009805/0.0009807, allocations: 200.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.7 MB / 247.5 MB, free: 9.668 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.195/0.195, allocations: 46.19 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002895, allocations: 8.281 kB / 420.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1303, allocations: 63.56 MB / 483.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002394/0.1328, allocations: 1.411 MB / 485.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.1346, allocations: 0.9591 MB / 486.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1348, allocations: 8 kB / 486.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004005/0.1352, allocations: 59.8 kB / 486.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.1355, allocations: 83.73 kB / 486.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.1358, allocations: 55.88 kB / 486.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.136, allocations: 107.6 kB / 486.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.718e-05/0.136, allocations: 8.234 kB / 486.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.1362, allocations: 47.77 kB / 486.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.466e-05/0.1363, allocations: 27.86 kB / 486.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1363, allocations: 0 / 486.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1364, allocations: 31.92 kB / 486.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.454e-05/0.1365, allocations: 31.84 kB / 486.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.029e-05/0.1366, allocations: 61.39 kB / 486.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.1367, allocations: 100.1 kB / 486.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1368, allocations: 4 kB / 486.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1368, allocations: 0 / 486.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1368, allocations: 0 / 486.7 MB, free: 1.109 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.0007265/0.1375, allocations: 407 kB / 487.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.1376, allocations: 12.88 kB / 487.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.704e-05/0.1376, allocations: 12.75 kB / 487.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.1379, allocations: 224.8 kB / 487.4 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1379, allocations: 384 / 487.4 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.138, allocations: 8.125 kB / 487.4 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1381, allocations: 53.67 kB / 487.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1381, allocations: 0 / 487.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1382, allocations: 3.938 kB / 487.4 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1382, allocations: 3.984 kB / 487.4 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.369e-05/0.1383, allocations: 19.98 kB / 487.5 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.1385, allocations: 193.7 kB / 487.6 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.1387, allocations: 54.56 kB / 487.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.035e-05/0.1388, allocations: 24.78 kB / 487.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.1388, allocations: 0 / 487.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.139, allocations: 63.39 kB / 487.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.774e-06/0.139, allocations: 4 kB / 487.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003242/0.1393, allocations: 97.42 kB / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.1394, allocations: 59.41 kB / 487.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.1397, allocations: 267 kB / 488.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.1397, allocations: 29.69 kB / 488.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.654e-05/0.1398, allocations: 112.1 kB / 488.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.1399, allocations: 11.81 kB / 488.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.1399, allocations: 13.72 kB / 488.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.14, allocations: 326.8 kB / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.472e-05/0.1401, allocations: 15.98 kB / 488.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-05/0.1402, allocations: 33.69 kB / 488.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.385e-05/0.1403, allocations: 45.66 kB / 488.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1403, allocations: 0 / 488.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001664/0.1405, allocations: 89.42 kB / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1405, allocations: 7.938 kB / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.1405, allocations: 0 / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1405, allocations: 4 kB / 488.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.98e-05/0.1406, allocations: 15.97 kB / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1406, allocations: 0 / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.807e-05/0.1407, allocations: 11.94 kB / 488.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.1407, allocations: 3.984 kB / 488.9 MB, free: 14.68 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.0001303/0.1408, allocations: 133.8 kB / 489 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.1409, allocations: 15.81 kB / 489 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.247e-05/0.1409, allocations: 17 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1409, allocations: 4 kB / 489.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1409, allocations: 0 / 489.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.141, allocations: 7.984 kB / 489.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.1411, allocations: 193.6 kB / 489.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1412, allocations: 4.25 kB / 489.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.377e-05/0.1412, allocations: 4 kB / 489.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1412, allocations: 0 / 489.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1412, allocations: 8 kB / 489.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1412, allocations: 0 / 489.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1412, allocations: 0 / 489.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.1414, allocations: 120.8 kB / 489.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.1415, allocations: 96.92 kB / 489.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.1415, allocations: 3.984 kB / 489.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.779e-05/0.1416, allocations: 0 / 489.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.1416, allocations: 4 kB / 489.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1416, allocations: 0 / 489.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.1418, allocations: 208.4 kB / 489.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1418, allocations: 0 / 489.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00022/0.1421, allocations: 20 kB / 489.7 MB, free: 13.77 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.001088/0.1432, allocations: 407.7 kB / 490.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.1433, allocations: 43.92 kB / 490.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1434, allocations: 0 / 490.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.188e-05/0.1434, allocations: 23.92 kB / 490.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.1437, allocations: 42.08 kB / 490.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005638/0.1443, allocations: 319.5 kB / 490.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.1447, allocations: 0.7146 MB / 491.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.1447, allocations: 19.42 kB / 491.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of SimCode: time 2.064e-06/0.1447, allocations: 0 / 491.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of Templates: time 0.004525/0.1493, allocations: 1.852 MB / 493.1 MB, free: 10.44 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches