Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009833/0.0009832, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.00131, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.586/1.586, allocations: 227.8 MB / 246.8 MB, free: 9.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2096/0.2096, allocations: 46.2 MB / 345.3 MB, free: 11.17 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003015, allocations: 15.98 kB / 419.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.132, allocations: 63.56 MB / 483.2 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002449/0.1345, allocations: 1.466 MB / 484.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1363, allocations: 0.9863 MB / 485.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.418e-05/0.1364, allocations: 7.938 kB / 485.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003298/0.1368, allocations: 83.81 kB / 485.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.137, allocations: 103.6 kB / 485.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.1372, allocations: 67.88 kB / 485.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.1374, allocations: 115.7 kB / 486 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1376, allocations: 15.98 kB / 486 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.1377, allocations: 51.72 kB / 486.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.1378, allocations: 67.73 kB / 486.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.1378, allocations: 4 kB / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.138, allocations: 55.97 kB / 486.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.138, allocations: 23.86 kB / 486.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.288e-05/0.1381, allocations: 69.38 kB / 486.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.1383, allocations: 143.7 kB / 486.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1384, allocations: 0 / 486.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1384, allocations: 0 / 486.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1384, allocations: 0 / 486.4 MB, free: 0.8242 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.0006152/0.139, allocations: 419 kB / 486.8 MB, free: 376 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.139, allocations: 12.88 kB / 486.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.1391, allocations: 12.75 kB / 486.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.1394, allocations: 224.7 kB / 487.1 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.1394, allocations: 4.375 kB / 487.1 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.1394, allocations: 8.125 kB / 487.1 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1396, allocations: 57.61 kB / 487.1 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1396, allocations: 4 kB / 487.1 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1396, allocations: 4 kB / 487.1 MB, free: 0 / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1396, allocations: 0 / 487.1 MB, free: 0 / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.797e-05/0.1397, allocations: 27.97 kB / 487.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.1401, allocations: 304.7 kB / 487.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.1404, allocations: 66.48 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.1405, allocations: 24.98 kB / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.1405, allocations: 0 / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.1407, allocations: 71.38 kB / 487.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.1407, allocations: 0 / 487.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007351/0.1414, allocations: 233.4 kB / 487.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.1415, allocations: 67.28 kB / 487.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.1417, allocations: 238.1 kB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.1418, allocations: 33.69 kB / 488.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.1419, allocations: 108 kB / 488.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.1419, allocations: 39.48 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.1419, allocations: 17.7 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1421, allocations: 326.8 kB / 488.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.839e-05/0.1422, allocations: 27.98 kB / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.405e-05/0.1423, allocations: 45.7 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.1424, allocations: 81.7 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1424, allocations: 0 / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002399/0.1427, allocations: 133.4 kB / 488.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1427, allocations: 8 kB / 489 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1427, allocations: 0 / 489 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1427, allocations: 0 / 489 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.93e-05/0.1428, allocations: 16 kB / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1428, allocations: 15.91 kB / 489 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.1429, allocations: 7.984 kB / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.1429, allocations: 7.938 kB / 489 MB, free: 13.99 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 (13): * Single equations (assignments): 13 * 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.0001309/0.1431, allocations: 134.4 kB / 489.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.1431, allocations: 11.81 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.1431, allocations: 17.41 kB / 489.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1431, allocations: 0 / 489.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1432, allocations: 3.938 kB / 489.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1432, allocations: 7.984 kB / 489.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005725/0.1437, allocations: 456 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.1438, allocations: 7.984 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.1438, allocations: 12 kB / 489.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.1438, allocations: 0 / 489.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1438, allocations: 8 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.1438, allocations: 0 / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.1439, allocations: 8 kB / 489.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.1441, allocations: 232.9 kB / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.451e-05/0.1442, allocations: 92.92 kB / 490 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.1443, allocations: 11.98 kB / 490 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.1443, allocations: 4 kB / 490 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.1444, allocations: 11.98 kB / 490 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.1444, allocations: 8 kB / 490 MB, free: 12.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001775/0.1446, allocations: 168.4 kB / 490.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1446, allocations: 3.938 kB / 490.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1449, allocations: 31.98 kB / 490.2 MB, free: 12.67 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 (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.001974/0.1469, allocations: 0.4978 MB / 490.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.1471, allocations: 83.91 kB / 490.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1471, allocations: 0 / 490.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.727e-05/0.1472, allocations: 43.91 kB / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1476, allocations: 35.89 kB / 490.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000584/0.1482, allocations: 316 kB / 491.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.1486, allocations: 0.7197 MB / 491.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.074e-05/0.1486, allocations: 24.58 kB / 491.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.1487, allocations: 23.42 kB / 491.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1487, allocations: 0 / 491.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of Templates: time 0.005152/0.1538, allocations: 1.906 MB / 493.8 MB, free: 9.176 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches