Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 178.6 kB / 16.41 MB, free: 5.707 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.866/1.866, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.000965/0.0009652, allocations: 97.03 kB / 270.9 MB, free: 8.348 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.4108/0.4108, allocations: 43.57 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.000439, allocations: 20 kB / 431.4 MB, free: 6.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1392, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002479/0.1418, allocations: 1.394 MB / 491.6 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.1432, allocations: 0.7461 MB / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.636e-05/0.1433, allocations: 3.938 kB / 492.4 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.1436, allocations: 51.86 kB / 492.4 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.1439, allocations: 47.81 kB / 492.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.1442, allocations: 79.8 kB / 492.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1444, allocations: 87.67 kB / 492.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1445, allocations: 16.22 kB / 492.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1446, allocations: 39.78 kB / 492.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.818e-05/0.1447, allocations: 23.86 kB / 492.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.1447, allocations: 7.984 kB / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.1448, allocations: 39.98 kB / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/0.1449, allocations: 23.92 kB / 492.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/0.145, allocations: 45.58 kB / 492.8 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.1451, allocations: 100.1 kB / 492.9 MB, free: 8.488 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1451, allocations: 0 / 492.9 MB, free: 8.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1452, allocations: 3.984 kB / 492.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1452, allocations: 0 / 492.9 MB, free: 8.484 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.0005847/0.1458, allocations: 422.6 kB / 493.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1458, allocations: 12.02 kB / 493.4 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.1459, allocations: 15.81 kB / 493.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.1461, allocations: 206.9 kB / 493.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.1461, allocations: 8 kB / 493.6 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.1462, allocations: 3.984 kB / 493.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1463, allocations: 53.67 kB / 493.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1463, allocations: 7.844 kB / 493.7 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1464, allocations: 0 / 493.7 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.1464, allocations: 7.953 kB / 493.7 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.357e-05/0.1465, allocations: 19.92 kB / 493.7 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.1469, allocations: 296.9 kB / 494 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.1471, allocations: 50.67 kB / 494 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.722e-05/0.1472, allocations: 24.86 kB / 494 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.1472, allocations: 3.984 kB / 494.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.1474, allocations: 71.28 kB / 494.1 MB, free: 7.137 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.572e-06/0.1474, allocations: 0 / 494.1 MB, free: 7.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005481/0.148, allocations: 185.1 kB / 494.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.148, allocations: 59.38 kB / 494.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.1483, allocations: 258.5 kB / 494.6 MB, free: 6.613 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1483, allocations: 25.7 kB / 494.6 MB, free: 6.582 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.1484, allocations: 120 kB / 494.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.1484, allocations: 11.81 kB / 494.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.1485, allocations: 11.94 kB / 494.8 MB, free: 6.438 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1486, allocations: 326.8 kB / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.1487, allocations: 20 kB / 495.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.325e-05/0.1487, allocations: 33.7 kB / 495.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.197e-05/0.1488, allocations: 20 kB / 495.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1488, allocations: 0 / 495.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001989/0.149, allocations: 113.4 kB / 495.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.149, allocations: 8 kB / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.149, allocations: 4 kB / 495.3 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1491, allocations: 0 / 495.3 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.222e-05/0.1492, allocations: 15.98 kB / 495.3 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1492, allocations: 3.938 kB / 495.3 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.1492, allocations: 4 kB / 495.3 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.1493, allocations: 8 kB / 495.3 MB, free: 5.871 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 ($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.0001305/0.1494, allocations: 129.8 kB / 495.5 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.1494, allocations: 19.77 kB / 495.5 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.262e-05/0.1495, allocations: 25.39 kB / 495.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1495, allocations: 0 / 495.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1495, allocations: 4 kB / 495.5 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.1495, allocations: 0 / 495.5 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.15, allocations: 415 kB / 495.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.15, allocations: 0 / 495.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/0.15, allocations: 8 kB / 495.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1501, allocations: 4.031 kB / 495.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1501, allocations: 4 kB / 495.9 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1501, allocations: 4 kB / 495.9 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1501, allocations: 0 / 495.9 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1503, allocations: 204.2 kB / 496.1 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.1504, allocations: 96.88 kB / 496.2 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.1504, allocations: 0 / 496.2 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.1505, allocations: 8 kB / 496.2 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.1506, allocations: 7.984 kB / 496.2 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.1506, allocations: 8 kB / 496.2 MB, free: 4.844 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001793/0.1508, allocations: 200 kB / 496.4 MB, free: 4.648 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1508, allocations: 0 / 496.4 MB, free: 4.648 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002521/0.151, allocations: 24 kB / 496.5 MB, free: 4.625 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 (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.0009833/0.152, allocations: 472.6 kB / 496.9 MB, free: 4.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.1523, allocations: 63.89 kB / 497 MB, free: 4.148 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1523, allocations: 0 / 497 MB, free: 4.148 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.949e-05/0.1524, allocations: 31.92 kB / 497 MB, free: 4.117 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.1527, allocations: 28.11 kB / 497 MB, free: 4.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000576/0.1533, allocations: 336.5 kB / 497.4 MB, free: 3.727 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.1537, allocations: 0.7199 MB / 498.1 MB, free: 2.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.1537, allocations: 19.42 kB / 498.1 MB, free: 2.961 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1537, allocations: 0 / 498.1 MB, free: 2.961 MB / 378.7 MB Notification: Performance of Templates: time 0.004314/0.1581, allocations: 2.015 MB / 0.4884 GB, free: 0.9492 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches