Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001654/0.001654, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.973/1.973, 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.0008262/0.0008263, allocations: 98.84 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.2425/0.2425, allocations: 43.57 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003963, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1424, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4109/0.5534, allocations: 86.5 MB / 0.5632 GB, free: 13.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.5537, allocations: 80.7 kB / 0.5633 GB, free: 13.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01045/0.5642, allocations: 3.756 MB / 0.567 GB, free: 10.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5642, allocations: 0 / 0.567 GB, free: 10.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.5643, allocations: 8 kB / 0.567 GB, free: 10.15 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.0004833/0.5647, allocations: 378.4 kB / 0.5673 GB, free: 9.742 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.5648, allocations: 11.97 kB / 0.5674 GB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.5649, allocations: 11.89 kB / 0.5674 GB, free: 9.719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.5651, allocations: 197.6 kB / 0.5676 GB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.5651, allocations: 4 kB / 0.5676 GB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.5652, allocations: 4 kB / 0.5676 GB, free: 9.484 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.5654, allocations: 73.77 kB / 0.5676 GB, free: 9.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5654, allocations: 0 / 0.5676 GB, free: 9.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.5654, allocations: 4 kB / 0.5676 GB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.5654, allocations: 3.938 kB / 0.5676 GB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.5655, allocations: 43.22 kB / 0.5677 GB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.566, allocations: 293.2 kB / 0.568 GB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.5661, allocations: 58.36 kB / 0.568 GB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.5662, allocations: 4.062 kB / 0.568 GB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.5662, allocations: 41.25 kB / 0.5681 GB, free: 8.945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.5662, allocations: 0 / 0.5681 GB, free: 8.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006472/0.5668, allocations: 178.3 kB / 0.5682 GB, free: 8.789 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.5669, allocations: 85.05 kB / 0.5683 GB, free: 8.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.5671, allocations: 136.8 kB / 0.5684 GB, free: 8.559 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.5671, allocations: 28.14 kB / 0.5685 GB, free: 8.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/0.5672, allocations: 90.33 kB / 0.5685 GB, free: 8.441 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.5673, allocations: 27.14 kB / 0.5686 GB, free: 8.418 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.5673, allocations: 3.938 kB / 0.5686 GB, free: 8.414 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.5674, allocations: 314.4 kB / 0.5689 GB, free: 8.102 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-05/0.5675, allocations: 28.92 kB / 0.5689 GB, free: 8.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.524e-05/0.5676, allocations: 44.62 kB / 0.5689 GB, free: 8.035 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.659e-05/0.5677, allocations: 30.22 kB / 0.569 GB, free: 8.012 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.5677, allocations: 0 / 0.569 GB, free: 8.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000221/0.5679, allocations: 113.6 kB / 0.5691 GB, free: 7.906 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.5679, allocations: 7.438 kB / 0.5691 GB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.568, allocations: 0 / 0.5691 GB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.568, allocations: 0 / 0.5691 GB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.5681, allocations: 23.92 kB / 0.5691 GB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.5681, allocations: 0 / 0.5691 GB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.5682, allocations: 4 kB / 0.5691 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.5682, allocations: 15.2 kB / 0.5691 GB, free: 7.863 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 9.023e-05/0.5683, allocations: 117 kB / 0.5692 GB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.5683, allocations: 11.89 kB / 0.5693 GB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.5686, allocations: 108.4 kB / 0.5694 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5686, allocations: 7.938 kB / 0.5694 GB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5686, allocations: 3.984 kB / 0.5694 GB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5686, allocations: 0 / 0.5694 GB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.5691, allocations: 381.6 kB / 0.5697 GB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5691, allocations: 0 / 0.5697 GB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.799e-05/0.5692, allocations: 23.94 kB / 0.5698 GB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5692, allocations: 0 / 0.5698 GB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.5692, allocations: 3.984 kB / 0.5698 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.5692, allocations: 0 / 0.5698 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5692, allocations: 3.938 kB / 0.5698 GB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.5695, allocations: 206.5 kB / 0.57 GB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.5696, allocations: 88.14 kB / 0.57 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.5696, allocations: 0 / 0.57 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.5697, allocations: 11.98 kB / 0.5701 GB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.5697, allocations: 7.312 kB / 0.5701 GB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.5697, allocations: 4 kB / 0.5701 GB, free: 6.871 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.839e-05/0.5698, allocations: 112.2 kB / 0.5702 GB, free: 6.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5698, allocations: 4 kB / 0.5702 GB, free: 6.766 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000252/0.5701, allocations: 30.19 kB / 0.5702 GB, free: 6.742 MB / 378.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.001033/0.5711, allocations: 457.1 kB / 0.5706 GB, free: 6.348 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.5714, allocations: 78.38 kB / 0.5707 GB, free: 6.281 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5714, allocations: 0 / 0.5707 GB, free: 6.281 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.68e-05/0.5715, allocations: 34.55 kB / 0.5708 GB, free: 6.254 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.5717, allocations: 19.45 kB / 0.5708 GB, free: 6.242 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004124/0.5721, allocations: 195 kB / 0.571 GB, free: 6.031 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.5724, allocations: 0.6887 MB / 0.5716 GB, free: 5.316 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.453e-05/0.5725, allocations: 24.28 kB / 0.5717 GB, free: 5.293 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.5725, allocations: 11.44 kB / 0.5717 GB, free: 5.281 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5725, allocations: 0 / 0.5717 GB, free: 5.281 MB / 378.7 MB Notification: Performance of Templates: time 0.003971/0.5765, allocations: 1.409 MB / 0.573 GB, free: 3.883 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches