Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002447/0.002447, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.458/2.458, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001139/0.001139, allocations: 106.7 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2912/0.2912, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004871, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1423, allocations: 58.85 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002819/0.1452, allocations: 1.383 MB / 491.6 MB, free: 7.949 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1472, allocations: 0.7344 MB / 492.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.1474, allocations: 3.938 kB / 492.3 MB, free: 7.203 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.1478, allocations: 71.78 kB / 492.4 MB, free: 7.133 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.1481, allocations: 59.84 kB / 492.5 MB, free: 7.074 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.1485, allocations: 79.77 kB / 492.6 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.1487, allocations: 71.84 kB / 492.6 MB, free: 6.926 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1488, allocations: 8.219 kB / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1489, allocations: 47.83 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1491, allocations: 47.81 kB / 492.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.1491, allocations: 4 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1493, allocations: 23.94 kB / 492.7 MB, free: 6.797 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.546e-05/0.1493, allocations: 19.92 kB / 492.8 MB, free: 6.777 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.294e-05/0.1494, allocations: 37.64 kB / 492.8 MB, free: 6.734 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.1496, allocations: 100.1 kB / 492.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1497, allocations: 0 / 492.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1497, allocations: 4 kB / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.1497, allocations: 0 / 492.9 MB, free: 6.633 MB / 330.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.0007275/0.1504, allocations: 394.9 kB / 493.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.1505, allocations: 20 kB / 493.3 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.315e-05/0.1506, allocations: 15.77 kB / 493.3 MB, free: 6.164 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.1509, allocations: 198.9 kB / 493.5 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.151, allocations: 0 / 493.5 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.151, allocations: 15.92 kB / 493.5 MB, free: 5.914 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.1512, allocations: 57.67 kB / 493.6 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1512, allocations: 0 / 493.6 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1513, allocations: 0 / 493.6 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.1513, allocations: 0 / 493.6 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.1514, allocations: 27.94 kB / 493.6 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.1519, allocations: 281 kB / 493.9 MB, free: 5.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.1522, allocations: 62.61 kB / 494 MB, free: 5.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.1523, allocations: 4 kB / 494 MB, free: 5.426 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002478/0.1525, allocations: 63.42 kB / 494 MB, free: 5.352 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.395e-06/0.1526, allocations: 0 / 494 MB, free: 5.352 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008007/0.1534, allocations: 177.1 kB / 494.2 MB, free: 5.172 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.1534, allocations: 59.39 kB / 494.3 MB, free: 5.102 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.1538, allocations: 206.4 kB / 494.5 MB, free: 4.891 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.1538, allocations: 29.7 kB / 494.5 MB, free: 4.855 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.1539, allocations: 162.6 kB / 494.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.77e-05/0.154, allocations: 31.62 kB / 494.7 MB, free: 4.664 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.154, allocations: 4 kB / 494.7 MB, free: 4.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1542, allocations: 314.8 kB / 495 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.421e-05/0.1543, allocations: 19.98 kB / 495 MB, free: 4.324 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.1544, allocations: 49.58 kB / 495.1 MB, free: 4.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.1545, allocations: 20 kB / 495.1 MB, free: 4.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1545, allocations: 0 / 495.1 MB, free: 4.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003001/0.1548, allocations: 93.52 kB / 495.2 MB, free: 4.152 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1549, allocations: 7.938 kB / 495.2 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1549, allocations: 4 kB / 495.2 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1549, allocations: 3.953 kB / 495.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.1551, allocations: 16 kB / 495.2 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1551, allocations: 4.031 kB / 495.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.83e-05/0.1552, allocations: 7.984 kB / 495.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.1552, allocations: 4 kB / 495.2 MB, free: 4.105 MB / 330.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 ($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 (10): * Single equations (assignments): 10 * 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.0001509/0.1554, allocations: 125.8 kB / 495.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.1554, allocations: 11.89 kB / 495.3 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.184e-05/0.1555, allocations: 13.41 kB / 495.4 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1555, allocations: 7.953 kB / 495.4 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1555, allocations: 0 / 495.4 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.1555, allocations: 4 kB / 495.4 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006911/0.1562, allocations: 395.3 kB / 495.8 MB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1563, allocations: 0 / 495.8 MB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-05/0.1564, allocations: 11.94 kB / 495.8 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.1564, allocations: 3.953 kB / 495.8 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.1564, allocations: 4.375 kB / 495.8 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1564, allocations: 0 / 495.8 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.1564, allocations: 4.234 kB / 495.8 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.1568, allocations: 221.9 kB / 496 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.992e-05/0.1569, allocations: 96.95 kB / 496.1 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.1569, allocations: 0 / 496.1 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1571, allocations: 4 kB / 496.1 MB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.1571, allocations: 11.92 kB / 496.1 MB, free: 3.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.1572, allocations: 12 kB / 496.1 MB, free: 3.082 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002049/0.1574, allocations: 156.2 kB / 496.3 MB, free: 2.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1574, allocations: 0 / 496.3 MB, free: 2.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003807/0.1578, allocations: 31.89 kB / 496.3 MB, free: 2.898 MB / 330.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 (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.001416/0.1592, allocations: 467.5 kB / 496.8 MB, free: 2.492 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003137/0.1595, allocations: 63.89 kB / 496.8 MB, free: 2.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1596, allocations: 0 / 496.8 MB, free: 2.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.1597, allocations: 20 kB / 496.8 MB, free: 2.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.1601, allocations: 31.58 kB / 496.9 MB, free: 2.383 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007174/0.1608, allocations: 291.9 kB / 497.2 MB, free: 2.066 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.1612, allocations: 0.716 MB / 497.9 MB, free: 1.324 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.391e-05/0.1613, allocations: 15.44 kB / 497.9 MB, free: 1.309 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1613, allocations: 0 / 497.9 MB, free: 1.309 MB / 330.7 MB Notification: Performance of Templates: time 0.006067/0.1674, allocations: 1.925 MB / 499.8 MB, free: 15.39 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches