Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001327/0.001327, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 104.8 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4032/0.4032, allocations: 43.5 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.001051, allocations: 55.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1397, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003659/0.1434, allocations: 1.76 MB / 488.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.1457, allocations: 1.375 MB / 490.2 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.1458, allocations: 0 / 490.2 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.1462, allocations: 35.84 kB / 490.2 MB, free: 9.344 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.1465, allocations: 51.81 kB / 490.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.1468, allocations: 75.8 kB / 490.3 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.147, allocations: 95.69 kB / 490.4 MB, free: 9.125 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1471, allocations: 16.22 kB / 490.4 MB, free: 9.109 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1473, allocations: 39.78 kB / 490.5 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.1474, allocations: 35.84 kB / 490.5 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.1475, allocations: 0 / 490.5 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.1476, allocations: 63.91 kB / 490.6 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.283e-05/0.1477, allocations: 19.91 kB / 490.6 MB, free: 8.953 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.1478, allocations: 23.81 kB / 490.6 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.148, allocations: 119.9 kB / 490.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.148, allocations: 4 kB / 490.7 MB, free: 8.809 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.148, allocations: 0 / 490.7 MB, free: 8.809 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.148, allocations: 4 kB / 490.7 MB, free: 8.805 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006152/0.1487, allocations: 399.1 kB / 491.1 MB, free: 8.367 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1487, allocations: 12.03 kB / 491.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.794e-05/0.1488, allocations: 8.844 kB / 491.1 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.149, allocations: 204.1 kB / 491.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.1491, allocations: 20.28 kB / 491.4 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.1491, allocations: 4.125 kB / 491.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1493, allocations: 75.39 kB / 491.4 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1493, allocations: 3.938 kB / 491.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1493, allocations: 0 / 491.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1493, allocations: 0 / 491.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.947e-05/0.1494, allocations: 19.98 kB / 491.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.1498, allocations: 288.7 kB / 491.7 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.15, allocations: 58.69 kB / 491.8 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.302e-05/0.1501, allocations: 24.84 kB / 491.8 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.1501, allocations: 0 / 491.8 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.1503, allocations: 67.33 kB / 491.9 MB, free: 7.473 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1503, allocations: 0 / 491.9 MB, free: 7.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005791/0.1509, allocations: 169.2 kB / 492 MB, free: 7.301 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.151, allocations: 85.11 kB / 492.1 MB, free: 7.199 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.1511, allocations: 149.8 kB / 492.3 MB, free: 7.043 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1512, allocations: 29.7 kB / 492.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.1512, allocations: 92.14 kB / 492.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.1513, allocations: 31.62 kB / 492.4 MB, free: 6.883 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.1513, allocations: 21.72 kB / 492.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1514, allocations: 326.8 kB / 492.8 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.975e-05/0.1515, allocations: 23.98 kB / 492.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-05/0.1516, allocations: 38.56 kB / 492.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1517, allocations: 65.64 kB / 492.9 MB, free: 6.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1517, allocations: 0 / 492.9 MB, free: 6.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001757/0.1519, allocations: 93.59 kB / 493 MB, free: 6.289 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1519, allocations: 4 kB / 493 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1519, allocations: 4.062 kB / 493 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.152, allocations: 4 kB / 493 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.206e-05/0.1521, allocations: 19.92 kB / 493 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1521, allocations: 0 / 493 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.09e-05/0.1521, allocations: 7.938 kB / 493 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1521, allocations: 4 kB / 493 MB, free: 6.246 MB / 378.7 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 (10): * Single equations (assignments): 10 * 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.0001048/0.1523, allocations: 121.8 kB / 493.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.1523, allocations: 11.81 kB / 493.2 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.1523, allocations: 12.88 kB / 493.2 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1523, allocations: 8.188 kB / 493.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1523, allocations: 0 / 493.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.1524, allocations: 7.875 kB / 493.2 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004267/0.1528, allocations: 395.2 kB / 493.6 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1528, allocations: 0 / 493.6 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.1528, allocations: 8 kB / 493.6 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.1529, allocations: 0 / 493.6 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1529, allocations: 16.25 kB / 493.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1529, allocations: 4.031 kB / 493.6 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1529, allocations: 4 kB / 493.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005586/0.1535, allocations: 0.7715 MB / 494.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.1535, allocations: 85.02 kB / 494.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.1536, allocations: 7.984 kB / 494.5 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.1536, allocations: 8 kB / 494.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.1537, allocations: 4 kB / 494.5 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.1537, allocations: 3.984 kB / 494.5 MB, free: 4.645 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.1538, allocations: 119.7 kB / 494.6 MB, free: 4.531 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1538, allocations: 0 / 494.6 MB, free: 4.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003905/0.1542, allocations: 35.98 kB / 494.6 MB, free: 4.496 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001109/0.1553, allocations: 0.4965 MB / 495.1 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.1555, allocations: 67.84 kB / 495.2 MB, free: 3.977 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1555, allocations: 4.062 kB / 495.2 MB, free: 3.973 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.475e-05/0.1556, allocations: 36.06 kB / 495.2 MB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.156, allocations: 23.98 kB / 495.3 MB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004975/0.1565, allocations: 327.6 kB / 495.6 MB, free: 3.551 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.1568, allocations: 0.7004 MB / 496.3 MB, free: 2.824 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.116e-05/0.1568, allocations: 8.891 kB / 496.3 MB, free: 2.816 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.1569, allocations: 23.42 kB / 496.3 MB, free: 2.797 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1569, allocations: 4 kB / 496.3 MB, free: 2.793 MB / 378.7 MB Notification: Performance of Templates: time 0.004612/0.1615, allocations: 1.931 MB / 498.2 MB, free: 0.8672 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches