Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00111/0.00111, allocations: 102.1 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001752/0.001752, allocations: 192.9 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.7 MB / 246.4 MB, free: 9.809 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2272/0.2272, allocations: 46.19 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002485/0.0002486, allocations: 8 kB / 418.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1316, allocations: 63.56 MB / 482.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.001967/0.1336, allocations: 1.439 MB / 483.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.135, allocations: 0.944 MB / 484.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.448e-05/0.1351, allocations: 0 / 484.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.1354, allocations: 83.75 kB / 484.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.1356, allocations: 95.7 kB / 485 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.1358, allocations: 59.83 kB / 485 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.136, allocations: 103.7 kB / 485.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.275e-05/0.1361, allocations: 19.91 kB / 485.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.788e-05/0.1362, allocations: 51.77 kB / 485.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.213e-05/0.1363, allocations: 43.83 kB / 485.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.1363, allocations: 4 kB / 485.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1364, allocations: 59.91 kB / 485.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.1365, allocations: 19.92 kB / 485.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.1365, allocations: 37.64 kB / 485.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.1367, allocations: 100.1 kB / 485.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1367, allocations: 3.984 kB / 485.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1367, allocations: 0 / 485.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1367, allocations: 0 / 485.5 MB, free: 1.438 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004786/0.1372, allocations: 417.1 kB / 485.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.1372, allocations: 12.03 kB / 485.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.1373, allocations: 19.8 kB / 485.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.1375, allocations: 215.3 kB / 486.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1375, allocations: 4 kB / 486.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.1375, allocations: 4 kB / 486.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.1377, allocations: 57.67 kB / 486.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1377, allocations: 0 / 486.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1377, allocations: 0 / 486.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1377, allocations: 4 kB / 486.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.116e-05/0.1378, allocations: 23.98 kB / 486.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.1382, allocations: 308.7 kB / 486.5 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.1384, allocations: 66.48 kB / 486.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.1385, allocations: 24.97 kB / 486.6 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.1385, allocations: 0 / 486.6 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.1386, allocations: 71.39 kB / 486.7 MB, free: 68 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1387, allocations: 0 / 486.7 MB, free: 68 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007381/0.1394, allocations: 253.5 kB / 486.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.1394, allocations: 55.36 kB / 487 MB, free: 15.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.1397, allocations: 220.3 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1397, allocations: 29.7 kB / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.1398, allocations: 116 kB / 487.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.1398, allocations: 31.55 kB / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.1398, allocations: 4 kB / 487.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1399, allocations: 326.8 kB / 487.7 MB, free: 15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.365e-05/0.14, allocations: 23.98 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.67e-05/0.1401, allocations: 45.7 kB / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.372e-05/0.1402, allocations: 36 kB / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1402, allocations: 0 / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002146/0.1404, allocations: 129.4 kB / 487.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1404, allocations: 4 kB / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1404, allocations: 3.938 kB / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1404, allocations: 4 kB / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.275e-05/0.1405, allocations: 23.98 kB / 487.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1405, allocations: 3.953 kB / 487.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.1406, allocations: 4 kB / 487.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1406, allocations: 8.031 kB / 488 MB, free: 14.71 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 (13): * Single equations (assignments): 13 * 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.000113/0.1407, allocations: 137.7 kB / 488.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.1408, allocations: 11.91 kB / 488.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.047e-05/0.1408, allocations: 21.39 kB / 488.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1408, allocations: 4 kB / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1408, allocations: 0 / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1408, allocations: 3.953 kB / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004943/0.1413, allocations: 452 kB / 488.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1414, allocations: 0 / 488.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.385e-05/0.1414, allocations: 12 kB / 488.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.1414, allocations: 4 kB / 488.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1414, allocations: 7.953 kB / 488.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1414, allocations: 7.984 kB / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1415, allocations: 0 / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.1417, allocations: 233.2 kB / 488.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.1418, allocations: 96.89 kB / 488.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.1418, allocations: 8 kB / 488.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-05/0.1419, allocations: 7.953 kB / 488.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.142, allocations: 15.98 kB / 489 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.142, allocations: 4 kB / 489 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001482/0.1421, allocations: 165.2 kB / 489.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1422, allocations: 0 / 489.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.1424, allocations: 35.98 kB / 489.2 MB, free: 13.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001172/0.1436, allocations: 0.4937 MB / 489.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.1438, allocations: 75.91 kB / 489.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1438, allocations: 0 / 489.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.498e-05/0.1439, allocations: 47.98 kB / 489.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.1443, allocations: 31.16 kB / 489.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.1448, allocations: 287.9 kB / 490.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.1451, allocations: 0.7121 MB / 490.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.068e-05/0.1451, allocations: 24.62 kB / 490.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.1452, allocations: 23.44 kB / 490.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1452, allocations: 0 / 490.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of Templates: time 0.004269/0.1495, allocations: 1.856 MB / 492.7 MB, free: 9.992 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches