Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001567/0.001567, allocations: 177.5 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009424/0.0009424, allocations: 90.3 kB / 261.8 MB, free: 1.605 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.1989/0.1989, allocations: 43.49 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.992e-05/1.993e-05, allocations: 7.984 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1276, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4343/0.562, allocations: 86.37 MB / 0.5503 GB, free: 8.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.5622, allocations: 71.28 kB / 0.5504 GB, free: 8.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0133/0.5756, allocations: 7.813 MB / 0.558 GB, free: 1.715 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5756, allocations: 0 / 0.558 GB, free: 1.715 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.151e-05/0.5756, allocations: 4 kB / 0.558 GB, free: 1.711 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000441/0.5761, allocations: 0.5393 MB / 0.5585 GB, free: 1.145 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.5761, allocations: 8.031 kB / 0.5585 GB, free: 1.137 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.135e-05/0.5762, allocations: 47.39 kB / 0.5586 GB, free: 1.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.5766, allocations: 329.2 kB / 0.5589 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.5766, allocations: 3.938 kB / 0.5589 GB, free: 0.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.5766, allocations: 4 kB / 0.5589 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.193e-05/0.5767, allocations: 15.8 kB / 0.5589 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.94e-05/0.5768, allocations: 42 kB / 0.5589 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.5768, allocations: 4 kB / 0.5589 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.5768, allocations: 0 / 0.5589 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.5768, allocations: 3.953 kB / 0.5589 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.5773, allocations: 410.6 kB / 0.5593 GB, free: 304 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.029e-05/0.5773, allocations: 30.44 kB / 0.5594 GB, free: 268 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.5774, allocations: 12.92 kB / 0.5594 GB, free: 252 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.5774, allocations: 6.766 kB / 0.5594 GB, free: 252 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/0.5774, allocations: 30.56 kB / 0.5594 GB, free: 212 kB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.5774, allocations: 0 / 0.5594 GB, free: 212 kB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001761/0.5776, allocations: 88.72 kB / 0.5595 GB, free: 120 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.5776, allocations: 55.39 kB / 0.5596 GB, free: 52 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.5787, allocations: 0.7511 MB / 0.5603 GB, free: 15.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.5787, allocations: 25.73 kB / 0.5603 GB, free: 15.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.5789, allocations: 212 kB / 0.5605 GB, free: 15.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.5789, allocations: 3.906 kB / 0.5605 GB, free: 15.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.5789, allocations: 0 / 0.5605 GB, free: 15.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.579, allocations: 365.7 kB / 0.5609 GB, free: 14.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.5791, allocations: 8 kB / 0.5609 GB, free: 14.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.041e-05/0.5791, allocations: 3.938 kB / 0.5609 GB, free: 14.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.042e-05/0.5791, allocations: 4 kB / 0.5609 GB, free: 14.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5791, allocations: 0 / 0.5609 GB, free: 14.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001145/0.5792, allocations: 85.09 kB / 0.561 GB, free: 14.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.5793, allocations: 8 kB / 0.561 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.5793, allocations: 0 / 0.561 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.5793, allocations: 0 / 0.561 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.562e-05/0.5794, allocations: 11.92 kB / 0.561 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.5794, allocations: 3.953 kB / 0.561 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.928e-05/0.5795, allocations: 4 kB / 0.561 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.5795, allocations: 0 / 0.561 GB, free: 14.84 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.211e-05/0.5796, allocations: 113 kB / 0.5611 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.452e-05/0.5796, allocations: 43.42 kB / 0.5611 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.5798, allocations: 100.3 kB / 0.5612 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.5798, allocations: 0 / 0.5612 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5798, allocations: 0 / 0.5612 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.5798, allocations: 3.953 kB / 0.5612 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.5801, allocations: 307.8 kB / 0.5615 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5801, allocations: 0 / 0.5615 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.5802, allocations: 4 kB / 0.5615 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5802, allocations: 7.969 kB / 0.5615 GB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.5802, allocations: 0 / 0.5615 GB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.5802, allocations: 4 kB / 0.5615 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5802, allocations: 3.938 kB / 0.5616 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.5804, allocations: 178.9 kB / 0.5617 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.5806, allocations: 156.2 kB / 0.5619 GB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.5806, allocations: 0 / 0.5619 GB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-05/0.5807, allocations: 8.031 kB / 0.5619 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.5807, allocations: 7.922 kB / 0.5619 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.5808, allocations: 4 kB / 0.5619 GB, free: 13.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005951/0.5814, allocations: 0.6061 MB / 0.5625 GB, free: 13.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5814, allocations: 0 / 0.5625 GB, free: 13.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002697/0.5816, allocations: 48 kB / 0.5625 GB, free: 13.42 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0006728/0.5823, allocations: 301.5 kB / 0.5628 GB, free: 13.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.16e-05/0.5824, allocations: 15.38 kB / 0.5628 GB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5824, allocations: 0 / 0.5628 GB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.029e-05/0.5825, allocations: 11.12 kB / 0.5628 GB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.5827, allocations: 27.09 kB / 0.5629 GB, free: 13.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000995/0.5837, allocations: 0.6979 MB / 0.5635 GB, free: 12.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.5842, allocations: 0.8279 MB / 0.5644 GB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.419e-05/0.5843, allocations: 47.88 kB / 0.5644 GB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/0.5844, allocations: 19.44 kB / 0.5644 GB, free: 11.57 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5844, allocations: 0 / 0.5644 GB, free: 11.57 MB / 378.7 MB Notification: Performance of Templates: time 0.005479/0.5899, allocations: 1.946 MB / 0.5663 GB, free: 9.633 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches