Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001674/0.001674, 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.649/1.649, 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.0008898/0.00089, allocations: 94.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.2038/0.2038, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003006, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.133, allocations: 58.85 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4055/0.5386, allocations: 87.48 MB / 0.5642 GB, free: 12.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.5388, allocations: 78.33 kB / 0.5643 GB, free: 12.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01227/0.5511, allocations: 4.593 MB / 0.5687 GB, free: 8.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5512, allocations: 0 / 0.5687 GB, free: 8.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.5512, allocations: 0 / 0.5687 GB, free: 8.68 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.0005049/0.5517, allocations: 400.9 kB / 0.5691 GB, free: 8.246 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.5518, allocations: 16.02 kB / 0.5691 GB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.5518, allocations: 11.86 kB / 0.5692 GB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.5521, allocations: 193.2 kB / 0.5693 GB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.5521, allocations: 4 kB / 0.5693 GB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.5521, allocations: 0 / 0.5693 GB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.5523, allocations: 81.31 kB / 0.5694 GB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5524, allocations: 0 / 0.5694 GB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.5524, allocations: 4 kB / 0.5694 GB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5524, allocations: 3.938 kB / 0.5694 GB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.5526, allocations: 50.47 kB / 0.5695 GB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.5531, allocations: 310.1 kB / 0.5698 GB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.5532, allocations: 56.3 kB / 0.5698 GB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.5533, allocations: 0 / 0.5698 GB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.5533, allocations: 38.44 kB / 0.5699 GB, free: 7.426 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.5533, allocations: 4 kB / 0.5699 GB, free: 7.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008848/0.5542, allocations: 263.4 kB / 0.5701 GB, free: 7.188 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.61e-05/0.5543, allocations: 81.11 kB / 0.5702 GB, free: 7.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.5545, allocations: 137.2 kB / 0.5703 GB, free: 6.961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.5545, allocations: 29.7 kB / 0.5704 GB, free: 6.926 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.5546, allocations: 97.38 kB / 0.5704 GB, free: 6.836 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.5546, allocations: 18.72 kB / 0.5705 GB, free: 6.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/0.5547, allocations: 0 / 0.5705 GB, free: 6.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.5548, allocations: 322.6 kB / 0.5708 GB, free: 6.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.555, allocations: 46.78 kB / 0.5708 GB, free: 6.461 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.5551, allocations: 59.56 kB / 0.5709 GB, free: 6.406 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.5552, allocations: 53.92 kB / 0.5709 GB, free: 6.363 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5553, allocations: 4 kB / 0.5709 GB, free: 6.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002905/0.5556, allocations: 134.2 kB / 0.5711 GB, free: 6.238 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.5556, allocations: 7.938 kB / 0.5711 GB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5556, allocations: 0 / 0.5711 GB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.5556, allocations: 3.953 kB / 0.5711 GB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.5558, allocations: 23.98 kB / 0.5711 GB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.5558, allocations: 8.047 kB / 0.5711 GB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.515e-05/0.5559, allocations: 16 kB / 0.5711 GB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.5559, allocations: 3.5 kB / 0.5711 GB, free: 6.18 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.0001209/0.556, allocations: 117.1 kB / 0.5712 GB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.556, allocations: 7.906 kB / 0.5712 GB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.5564, allocations: 163.1 kB / 0.5714 GB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5564, allocations: 0 / 0.5714 GB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.5564, allocations: 3.953 kB / 0.5714 GB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.5564, allocations: 0 / 0.5714 GB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005834/0.557, allocations: 426.3 kB / 0.5718 GB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.557, allocations: 0 / 0.5718 GB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.493e-05/0.5571, allocations: 31.92 kB / 0.5718 GB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.5572, allocations: 4.219 kB / 0.5718 GB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.5572, allocations: 4.516 kB / 0.5718 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5572, allocations: 0 / 0.5718 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5572, allocations: 0 / 0.5718 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004197/0.5576, allocations: 239.5 kB / 0.5721 GB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.5577, allocations: 91.44 kB / 0.5722 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.5577, allocations: 0.625 kB / 0.5722 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.712e-05/0.5578, allocations: 17.2 kB / 0.5722 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.5579, allocations: 8.609 kB / 0.5722 GB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.5579, allocations: 4.625 kB / 0.5722 GB, free: 5.066 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001063/0.558, allocations: 113.2 kB / 0.5723 GB, free: 4.965 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.558, allocations: 3.938 kB / 0.5723 GB, free: 4.961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002794/0.5583, allocations: 31.56 kB / 0.5723 GB, free: 4.934 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.00105/0.5593, allocations: 450.7 kB / 0.5728 GB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000358/0.5597, allocations: 114.2 kB / 0.5729 GB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5597, allocations: 0 / 0.5729 GB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.5599, allocations: 55.47 kB / 0.5729 GB, free: 4.406 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.5601, allocations: 15.55 kB / 0.5729 GB, free: 4.395 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.5606, allocations: 216.6 kB / 0.5731 GB, free: 4.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.5609, allocations: 0.7043 MB / 0.5738 GB, free: 3.441 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.421e-05/0.561, allocations: 20.66 kB / 0.5738 GB, free: 3.418 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.561, allocations: 15.42 kB / 0.5739 GB, free: 3.402 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.561, allocations: 0 / 0.5739 GB, free: 3.402 MB / 378.7 MB Notification: Performance of Templates: time 0.004121/0.5652, allocations: 1.458 MB / 0.5753 GB, free: 1.953 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches