Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00144/0.001439, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.589/1.589, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009345/0.0009345, allocations: 90.8 kB / 270.2 MB, free: 13.36 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.1984/0.1984, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1452, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4906/0.636, allocations: 87.23 MB / 0.5639 GB, free: 12.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.6363, allocations: 74.12 kB / 0.564 GB, free: 12.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0181/0.6544, allocations: 8.139 MB / 0.572 GB, free: 5.258 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.506e-06/0.6544, allocations: 0 / 0.572 GB, free: 5.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.155e-05/0.6544, allocations: 7.938 kB / 0.572 GB, free: 5.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008039/0.6553, allocations: 0.6354 MB / 0.5726 GB, free: 4.586 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.6553, allocations: 12.02 kB / 0.5726 GB, free: 4.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.251e-05/0.6554, allocations: 47.39 kB / 0.5726 GB, free: 4.527 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005802/0.656, allocations: 333.6 kB / 0.573 GB, free: 4.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.656, allocations: 0 / 0.573 GB, free: 4.176 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.6561, allocations: 11.11 kB / 0.573 GB, free: 4.168 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.6563, allocations: 69.3 kB / 0.573 GB, free: 4.102 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.6563, allocations: 3.938 kB / 0.573 GB, free: 4.098 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.6563, allocations: 0 / 0.573 GB, free: 4.098 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6563, allocations: 0 / 0.573 GB, free: 4.098 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.6565, allocations: 54.97 kB / 0.5731 GB, free: 4.051 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007145/0.6572, allocations: 449.1 kB / 0.5735 GB, free: 3.617 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.6573, allocations: 54 kB / 0.5736 GB, free: 3.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.6574, allocations: 4 kB / 0.5736 GB, free: 3.559 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.6574, allocations: 34.5 kB / 0.5736 GB, free: 3.516 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.6574, allocations: 0 / 0.5736 GB, free: 3.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008818/0.6583, allocations: 352.5 kB / 0.5739 GB, free: 3.195 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.6584, allocations: 51.41 kB / 0.574 GB, free: 3.133 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.6596, allocations: 0.7843 MB / 0.5748 GB, free: 2.523 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.6596, allocations: 25.7 kB / 0.5748 GB, free: 2.492 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.6598, allocations: 221.1 kB / 0.575 GB, free: 2.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.6598, allocations: 22.41 kB / 0.575 GB, free: 2.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.6598, allocations: 0 / 0.575 GB, free: 2.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.66, allocations: 361.4 kB / 0.5754 GB, free: 2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.6601, allocations: 46.84 kB / 0.5754 GB, free: 1.961 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.6602, allocations: 50.72 kB / 0.5755 GB, free: 1.918 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.6604, allocations: 50.28 kB / 0.5755 GB, free: 1.879 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.6604, allocations: 0 / 0.5755 GB, free: 1.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003184/0.6607, allocations: 177.8 kB / 0.5757 GB, free: 1.715 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.6607, allocations: 7.953 kB / 0.5757 GB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6607, allocations: 4 kB / 0.5757 GB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.6608, allocations: 0 / 0.5757 GB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.6609, allocations: 19.98 kB / 0.5757 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.6609, allocations: 4 kB / 0.5757 GB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.221e-05/0.661, allocations: 15.98 kB / 0.5757 GB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.661, allocations: 7.062 kB / 0.5757 GB, free: 1.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001907/0.6612, allocations: 212.8 kB / 0.5759 GB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.401e-05/0.6613, allocations: 43.44 kB / 0.576 GB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.6617, allocations: 205 kB / 0.5762 GB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.6617, allocations: 0 / 0.5762 GB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6617, allocations: 0 / 0.5762 GB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.6617, allocations: 0 / 0.5762 GB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.6628, allocations: 0.6559 MB / 0.5768 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.6628, allocations: 4 kB / 0.5768 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.705e-05/0.6629, allocations: 31.88 kB / 0.5768 GB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.6629, allocations: 0 / 0.5768 GB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.6629, allocations: 4 kB / 0.5768 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6629, allocations: 0 / 0.5768 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6629, allocations: 0 / 0.5768 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004192/0.6633, allocations: 274.8 kB / 0.5771 GB, free: 320 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.6636, allocations: 163.3 kB / 0.5773 GB, free: 148 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.6637, allocations: 7.953 kB / 0.5773 GB, free: 140 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.6638, allocations: 15.98 kB / 0.5773 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.6638, allocations: 7.984 kB / 0.5773 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.331e-06/0.6638, allocations: 4 kB / 0.5773 GB, free: 112 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006579/0.6645, allocations: 0.6378 MB / 0.5779 GB, free: 15.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6645, allocations: 0 / 0.5779 GB, free: 15.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002985/0.6648, allocations: 62.56 kB / 0.578 GB, free: 15.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0009477/0.6658, allocations: 416.9 kB / 0.5784 GB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.6661, allocations: 112.6 kB / 0.5785 GB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6661, allocations: 4 kB / 0.5785 GB, free: 15.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.6663, allocations: 61.53 kB / 0.5786 GB, free: 15.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.6665, allocations: 24.33 kB / 0.5786 GB, free: 15.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.6679, allocations: 0.941 MB / 0.5795 GB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.6683, allocations: 0.832 MB / 0.5803 GB, free: 13.33 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.6684, allocations: 44.91 kB / 0.5803 GB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.285e-05/0.6685, allocations: 31.23 kB / 0.5804 GB, free: 13.26 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6685, allocations: 0 / 0.5804 GB, free: 13.26 MB / 394.7 MB Notification: Performance of Templates: time 0.006231/0.6748, allocations: 2.524 MB / 0.5828 GB, free: 10.73 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches