Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001494, allocations: 182 kB / 13.66 MB, free: 1.664 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.173/2.173, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001096/0.001096, allocations: 94.62 kB / 267.5 MB, free: 14.11 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.2817/0.2817, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.373e-05/3.387e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1188, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4958/0.6147, allocations: 87.63 MB / 0.5584 GB, free: 20 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.6151, allocations: 77.83 kB / 0.5584 GB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02392/0.639, allocations: 5.425 MB / 0.5637 GB, free: 11.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.6391, allocations: 3.938 kB / 0.5638 GB, free: 11.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.6391, allocations: 8 kB / 0.5638 GB, free: 11.39 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.0005831/0.6397, allocations: 389.7 kB / 0.5641 GB, free: 10.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.6398, allocations: 16.02 kB / 0.5641 GB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.705e-05/0.6398, allocations: 15.81 kB / 0.5642 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.6402, allocations: 215.2 kB / 0.5644 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.6403, allocations: 15.73 kB / 0.5644 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.6403, allocations: 0 / 0.5644 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.6405, allocations: 53.25 kB / 0.5644 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.6405, allocations: 0 / 0.5644 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.6405, allocations: 0 / 0.5644 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.6405, allocations: 4 kB / 0.5644 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.361e-05/0.6406, allocations: 19.86 kB / 0.5645 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.6411, allocations: 292.7 kB / 0.5647 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.6413, allocations: 56.62 kB / 0.5648 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.001e-05/0.6414, allocations: 19.98 kB / 0.5648 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.6414, allocations: 4 kB / 0.5648 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.6416, allocations: 64.83 kB / 0.5649 GB, free: 10.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.073e-06/0.6416, allocations: 0 / 0.5649 GB, free: 10.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006169/0.6422, allocations: 158.1 kB / 0.565 GB, free: 10.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.6423, allocations: 59.34 kB / 0.5651 GB, free: 9.953 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.6426, allocations: 186.2 kB / 0.5653 GB, free: 9.781 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.6426, allocations: 29.2 kB / 0.5653 GB, free: 9.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.6427, allocations: 164.8 kB / 0.5654 GB, free: 9.598 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.6427, allocations: 22.27 kB / 0.5655 GB, free: 9.578 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.6428, allocations: 7.562 kB / 0.5655 GB, free: 9.574 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.6429, allocations: 318.8 kB / 0.5658 GB, free: 9.254 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.033e-05/0.643, allocations: 19.19 kB / 0.5658 GB, free: 9.242 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.937e-05/0.6431, allocations: 29.41 kB / 0.5658 GB, free: 9.215 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.148e-05/0.6432, allocations: 25.73 kB / 0.5658 GB, free: 9.195 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.6432, allocations: 0 / 0.5658 GB, free: 9.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002257/0.6434, allocations: 91.06 kB / 0.5659 GB, free: 9.117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.6434, allocations: 7.438 kB / 0.5659 GB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.6435, allocations: 7.984 kB / 0.5659 GB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.6435, allocations: 0 / 0.5659 GB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.6436, allocations: 12 kB / 0.566 GB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.6437, allocations: 3.953 kB / 0.566 GB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.189e-05/0.6438, allocations: 7.594 kB / 0.566 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.6438, allocations: 11.98 kB / 0.566 GB, free: 9.074 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 () * 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 9.306e-05/0.6439, allocations: 118 kB / 0.5661 GB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.6439, allocations: 11.81 kB / 0.5661 GB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.6443, allocations: 120.8 kB / 0.5662 GB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.6443, allocations: 0 / 0.5662 GB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6443, allocations: 3.938 kB / 0.5662 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.6443, allocations: 3.953 kB / 0.5662 GB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006203/0.645, allocations: 408.6 kB / 0.5666 GB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.645, allocations: 7.938 kB / 0.5666 GB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.357e-05/0.6451, allocations: 11.98 kB / 0.5666 GB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.6451, allocations: 4 kB / 0.5666 GB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.6451, allocations: 0 / 0.5666 GB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.6451, allocations: 3.953 kB / 0.5666 GB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6451, allocations: 0 / 0.5666 GB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.6454, allocations: 221.5 kB / 0.5669 GB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.154e-05/0.6455, allocations: 96.25 kB / 0.5669 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.6456, allocations: 3.953 kB / 0.567 GB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.6457, allocations: 7.25 kB / 0.567 GB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.6458, allocations: 11.92 kB / 0.567 GB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.6458, allocations: 4 kB / 0.567 GB, free: 8.035 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002188/0.646, allocations: 152.7 kB / 0.5671 GB, free: 7.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.646, allocations: 8 kB / 0.5671 GB, free: 7.902 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003532/0.6464, allocations: 31.38 kB / 0.5672 GB, free: 7.875 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001235/0.6476, allocations: 415.8 kB / 0.5676 GB, free: 7.523 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.6479, allocations: 68.86 kB / 0.5676 GB, free: 7.473 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6479, allocations: 0 / 0.5676 GB, free: 7.473 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.893e-05/0.648, allocations: 26.88 kB / 0.5676 GB, free: 7.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.6484, allocations: 25.72 kB / 0.5677 GB, free: 7.434 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.6489, allocations: 197.3 kB / 0.5679 GB, free: 7.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.6492, allocations: 0.7195 MB / 0.5686 GB, free: 6.488 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.6493, allocations: 15.44 kB / 0.5686 GB, free: 6.473 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.6493, allocations: 0 / 0.5686 GB, free: 6.473 MB / 378.7 MB Notification: Performance of Templates: time 0.005614/0.655, allocations: 1.969 MB / 0.5705 GB, free: 4.516 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches