Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001516, allocations: 104.7 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 242.2 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2367/0.2367, allocations: 44.17 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.27 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1331, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003448/0.1366, allocations: 1.879 MB / 471.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1382, allocations: 0.986 MB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.839e-05/0.1383, allocations: 7.938 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004804/0.1388, allocations: 251.4 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.1391, allocations: 187.4 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.1395, allocations: 182.3 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.1398, allocations: 251.3 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.14, allocations: 33.66 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.1401, allocations: 131.5 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.1403, allocations: 183.5 kB / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.1403, allocations: 8 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1405, allocations: 59.98 kB / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.161e-05/0.1406, allocations: 67.69 kB / 473.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.599e-05/0.1407, allocations: 91.3 kB / 473.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.1409, allocations: 239.5 kB / 473.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1409, allocations: 3.938 kB / 473.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1409, allocations: 3.984 kB / 473.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.141, allocations: 3.938 kB / 473.8 MB, free: 9.809 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007104/0.1417, allocations: 0.5603 MB / 474.4 MB, free: 9.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1417, allocations: 11.97 kB / 474.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/0.1418, allocations: 36.56 kB / 474.4 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.1421, allocations: 284 kB / 474.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1421, allocations: 4.375 kB / 474.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.1422, allocations: 12.12 kB / 474.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.1424, allocations: 110 kB / 474.8 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.1424, allocations: 8 kB / 474.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1425, allocations: 0 / 474.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1425, allocations: 3.938 kB / 474.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.1426, allocations: 59.95 kB / 474.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.1432, allocations: 480.7 kB / 475.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/0.1436, allocations: 121.2 kB / 475.5 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.658e-05/0.1437, allocations: 45.77 kB / 475.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.1437, allocations: 0 / 475.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003011/0.144, allocations: 121.1 kB / 475.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.144, allocations: 0 / 475.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001277/0.1453, allocations: 0.496 MB / 476.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.1454, allocations: 77.11 kB / 476.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004413/0.1458, allocations: 485.6 kB / 476.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.1459, allocations: 37.69 kB / 476.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.919e-05/0.146, allocations: 164.5 kB / 476.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/0.146, allocations: 67 kB / 476.9 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.1461, allocations: 41.7 kB / 477 MB, free: 6.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1462, allocations: 350.8 kB / 477.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.1463, allocations: 55.97 kB / 477.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.1465, allocations: 91.34 kB / 477.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.1467, allocations: 163.3 kB / 477.6 MB, free: 5.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1468, allocations: 0 / 477.6 MB, free: 5.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003614/0.1471, allocations: 233.4 kB / 477.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1471, allocations: 11.94 kB / 477.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1472, allocations: 0 / 477.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1472, allocations: 4.062 kB / 477.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.1473, allocations: 43.97 kB / 477.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.1473, allocations: 7.938 kB / 477.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.621e-05/0.1474, allocations: 8 kB / 477.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.1474, allocations: 8 kB / 477.9 MB, free: 5.391 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001524/0.1476, allocations: 173.7 kB / 478.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.1477, allocations: 43.45 kB / 478.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.126e-05/0.1477, allocations: 42.81 kB / 478.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1478, allocations: 8 kB / 478.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1478, allocations: 7.875 kB / 478.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1478, allocations: 0 / 478.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008316/0.1486, allocations: 0.735 MB / 478.9 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1486, allocations: 4 kB / 478.9 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.757e-05/0.1487, allocations: 31.92 kB / 479 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1487, allocations: 4 kB / 479 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.1488, allocations: 4 kB / 479 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.1488, allocations: 4 kB / 479 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1488, allocations: 0.9375 kB / 479 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004542/0.1492, allocations: 431.4 kB / 479.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.1493, allocations: 100.7 kB / 479.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.1493, allocations: 11.98 kB / 479.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.1495, allocations: 4 kB / 479.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.1495, allocations: 27.91 kB / 479.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.1496, allocations: 12 kB / 479.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003003/0.1499, allocations: 363.1 kB / 479.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1499, allocations: 0 / 479.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003371/0.1502, allocations: 48 kB / 480 MB, free: 3.234 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00111/0.1513, allocations: 0.5181 MB / 480.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003396/0.1517, allocations: 167.8 kB / 480.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1517, allocations: 0 / 480.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.1519, allocations: 79.89 kB / 480.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.1524, allocations: 62.86 kB / 480.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008109/0.1532, allocations: 0.5944 MB / 481.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.1536, allocations: 0.783 MB / 482.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.1537, allocations: 37.92 kB / 482.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.964e-05/0.1538, allocations: 35.42 kB / 482.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1538, allocations: 0 / 482.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of Templates: time 0.006086/0.1599, allocations: 3.128 MB / 485.4 MB, free: 14 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches