Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001459/0.001459, allocations: 186.4 kB / 16.41 MB, free: 5.727 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.96/1.96, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001668/0.001667, allocations: 92.47 kB / 270.9 MB, free: 8.367 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.5334/0.5334, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004634, allocations: 16 kB / 431.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1339, allocations: 58.85 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5878/0.7218, allocations: 87.71 MB / 0.5644 GB, free: 14.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.7222, allocations: 79.95 kB / 0.5645 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02403/0.7462, allocations: 5.382 MB / 0.5697 GB, free: 9.418 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.137e-05/0.7463, allocations: 0 / 0.5697 GB, free: 9.418 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.7463, allocations: 0 / 0.5697 GB, free: 9.418 MB / 394.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.000644/0.747, allocations: 417.8 kB / 0.5701 GB, free: 8.965 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.747, allocations: 20.02 kB / 0.5701 GB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.7471, allocations: 15.28 kB / 0.5702 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.7475, allocations: 217.1 kB / 0.5704 GB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.7475, allocations: 0 / 0.5704 GB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.7475, allocations: 0 / 0.5704 GB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.7477, allocations: 57.67 kB / 0.5704 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.7478, allocations: 0 / 0.5704 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.7478, allocations: 0 / 0.5704 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.7478, allocations: 1.031 kB / 0.5704 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.7479, allocations: 31.92 kB / 0.5704 GB, free: 8.594 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.7484, allocations: 297.5 kB / 0.5707 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.7487, allocations: 54.69 kB / 0.5708 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.7487, allocations: 0 / 0.5708 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.7489, allocations: 87.42 kB / 0.5709 GB, free: 8.094 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.7489, allocations: 0 / 0.5709 GB, free: 8.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007627/0.7497, allocations: 169.2 kB / 0.571 GB, free: 7.922 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.7498, allocations: 59.36 kB / 0.5711 GB, free: 7.852 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.75, allocations: 169.4 kB / 0.5712 GB, free: 7.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.7501, allocations: 25.7 kB / 0.5713 GB, free: 7.648 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.7502, allocations: 162.6 kB / 0.5714 GB, free: 7.488 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.7502, allocations: 23.64 kB / 0.5714 GB, free: 7.465 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-06/0.7502, allocations: 8 kB / 0.5715 GB, free: 7.457 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.7504, allocations: 314.8 kB / 0.5718 GB, free: 7.141 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.763e-05/0.7505, allocations: 19.98 kB / 0.5718 GB, free: 7.121 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.7506, allocations: 37.7 kB / 0.5718 GB, free: 7.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.7507, allocations: 24.84 kB / 0.5718 GB, free: 7.055 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7507, allocations: 0 / 0.5718 GB, free: 7.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003072/0.7511, allocations: 105.5 kB / 0.5719 GB, free: 6.945 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.7511, allocations: 4 kB / 0.5719 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.7511, allocations: 0 / 0.5719 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.7511, allocations: 4.75 kB / 0.5719 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.7513, allocations: 15.98 kB / 0.572 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.7513, allocations: 0.7812 kB / 0.572 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.314e-05/0.7514, allocations: 7.953 kB / 0.572 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.7514, allocations: 8 kB / 0.572 GB, free: 6.906 MB / 394.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.0001312/0.7516, allocations: 125.8 kB / 0.5721 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.7516, allocations: 11.94 kB / 0.5721 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003814/0.752, allocations: 119.2 kB / 0.5722 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.752, allocations: 0 / 0.5722 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.7521, allocations: 4 kB / 0.5722 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.7521, allocations: 4.266 kB / 0.5722 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006888/0.7528, allocations: 423.1 kB / 0.5726 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.7528, allocations: 0 / 0.5726 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.154e-05/0.7529, allocations: 15.97 kB / 0.5726 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.7529, allocations: 0 / 0.5726 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.7529, allocations: 11.94 kB / 0.5727 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.7529, allocations: 3.953 kB / 0.5727 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.7529, allocations: 0 / 0.5727 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.7533, allocations: 217.9 kB / 0.5729 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.966e-05/0.7534, allocations: 89.02 kB / 0.573 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.7535, allocations: 15.94 kB / 0.573 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.7536, allocations: 4 kB / 0.573 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.7536, allocations: 4 kB / 0.573 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.7537, allocations: 3.984 kB / 0.573 GB, free: 5.754 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001818/0.7538, allocations: 140.8 kB / 0.5731 GB, free: 5.617 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7539, allocations: 0 / 0.5731 GB, free: 5.617 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003737/0.7542, allocations: 39.92 kB / 0.5732 GB, free: 5.578 MB / 394.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 (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.001428/0.7557, allocations: 479.4 kB / 0.5736 GB, free: 5.207 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002944/0.756, allocations: 63.91 kB / 0.5737 GB, free: 5.145 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.756, allocations: 64 / 0.5737 GB, free: 5.145 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.7561, allocations: 31.98 kB / 0.5737 GB, free: 5.113 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.7565, allocations: 27.92 kB / 0.5737 GB, free: 5.086 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006543/0.7572, allocations: 282.5 kB / 0.574 GB, free: 4.773 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.7576, allocations: 0.7082 MB / 0.5747 GB, free: 4.039 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.7576, allocations: 15.44 kB / 0.5747 GB, free: 4.027 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7577, allocations: 0 / 0.5747 GB, free: 4.027 MB / 394.7 MB Notification: Performance of Templates: time 0.005303/0.763, allocations: 1.919 MB / 0.5766 GB, free: 2.117 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches