Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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.CombiTable1D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20") translateModel(ModelicaTest.Tables.CombiTable1D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001429, allocations: 183.1 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.644/1.644, 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.000841/0.0008408, allocations: 82.86 kB / 270.2 MB, free: 13.37 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.2366/0.2366, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003205, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1421, allocations: 58.85 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4076/0.5498, allocations: 86.75 MB / 0.5635 GB, free: 13.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.5501, allocations: 71.47 kB / 0.5635 GB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01083/0.5609, allocations: 4.317 MB / 0.5677 GB, free: 9.602 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.561, allocations: 0 / 0.5677 GB, free: 9.602 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.561, allocations: 4 kB / 0.5678 GB, free: 9.598 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004632/0.5615, allocations: 377.8 kB / 0.5681 GB, free: 9.188 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.5615, allocations: 12.02 kB / 0.5681 GB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.5616, allocations: 7.906 kB / 0.5681 GB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.5618, allocations: 197.7 kB / 0.5683 GB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.5618, allocations: 4 kB / 0.5683 GB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.5619, allocations: 0 / 0.5683 GB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.5621, allocations: 65.59 kB / 0.5684 GB, free: 8.867 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.5621, allocations: 4 kB / 0.5684 GB, free: 8.863 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.5621, allocations: 0 / 0.5684 GB, free: 8.863 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-06/0.5621, allocations: 0 / 0.5684 GB, free: 8.863 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.932e-05/0.5622, allocations: 30.03 kB / 0.5684 GB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.5627, allocations: 278.1 kB / 0.5687 GB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.563, allocations: 54.11 kB / 0.5687 GB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.563, allocations: 4 kB / 0.5687 GB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.563, allocations: 34.64 kB / 0.5688 GB, free: 8.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.563, allocations: 0 / 0.5688 GB, free: 8.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006453/0.5637, allocations: 163.4 kB / 0.5689 GB, free: 8.285 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/0.5638, allocations: 81.11 kB / 0.569 GB, free: 8.188 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.5639, allocations: 131.9 kB / 0.5691 GB, free: 8.062 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.564, allocations: 29.7 kB / 0.5692 GB, free: 8.027 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.5641, allocations: 83.58 kB / 0.5692 GB, free: 7.945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.5641, allocations: 27.36 kB / 0.5693 GB, free: 7.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-06/0.5641, allocations: 0 / 0.5693 GB, free: 7.922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5642, allocations: 318.5 kB / 0.5696 GB, free: 7.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.5643, allocations: 23.3 kB / 0.5696 GB, free: 7.586 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.383e-05/0.5644, allocations: 53 kB / 0.5696 GB, free: 7.535 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.574e-05/0.5645, allocations: 23.67 kB / 0.5697 GB, free: 7.516 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5645, allocations: 0 / 0.5697 GB, free: 7.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001957/0.5647, allocations: 100.1 kB / 0.5698 GB, free: 7.422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.5647, allocations: 6.656 kB / 0.5698 GB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5648, allocations: 0 / 0.5698 GB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.5648, allocations: 4 kB / 0.5698 GB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.256e-05/0.5648, allocations: 12 kB / 0.5698 GB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5649, allocations: 0 / 0.5698 GB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.5649, allocations: 10.36 kB / 0.5698 GB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.5649, allocations: 3.953 kB / 0.5698 GB, free: 7.391 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 (5): * Single equations (assignments): 5 * 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 8.459e-05/0.565, allocations: 117.5 kB / 0.5699 GB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.565, allocations: 7.906 kB / 0.5699 GB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.5653, allocations: 105.6 kB / 0.57 GB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5653, allocations: 4 kB / 0.57 GB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5653, allocations: 0 / 0.57 GB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5653, allocations: 4 kB / 0.57 GB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.5658, allocations: 362.4 kB / 0.5704 GB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5658, allocations: 3.938 kB / 0.5704 GB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/0.5658, allocations: 15.98 kB / 0.5704 GB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.5658, allocations: 4 kB / 0.5704 GB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.5659, allocations: 3.875 kB / 0.5704 GB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5659, allocations: 0 / 0.5704 GB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5659, allocations: 0 / 0.5704 GB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.5661, allocations: 204.9 kB / 0.5706 GB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.5662, allocations: 81.02 kB / 0.5707 GB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.5662, allocations: 0 / 0.5707 GB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.5663, allocations: 15.36 kB / 0.5707 GB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.5663, allocations: 0 / 0.5707 GB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.5663, allocations: 4 kB / 0.5707 GB, free: 6.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.778e-05/0.5664, allocations: 106.4 kB / 0.5708 GB, free: 6.332 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.695e-06/0.5664, allocations: 0 / 0.5708 GB, free: 6.332 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.5666, allocations: 31.38 kB / 0.5708 GB, free: 6.305 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 (5): * Single equations (assignments): 5 * 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.0009372/0.5676, allocations: 466.3 kB / 0.5713 GB, free: 5.906 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.5678, allocations: 62.2 kB / 0.5713 GB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5678, allocations: 0 / 0.5713 GB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.848e-05/0.5679, allocations: 31.3 kB / 0.5714 GB, free: 5.828 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.5681, allocations: 18.55 kB / 0.5714 GB, free: 5.812 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.5685, allocations: 176.2 kB / 0.5715 GB, free: 5.621 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.5687, allocations: 0.6915 MB / 0.5722 GB, free: 4.906 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.489e-05/0.5688, allocations: 12.17 kB / 0.5722 GB, free: 4.895 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.5689, allocations: 15.42 kB / 0.5722 GB, free: 4.879 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5689, allocations: 4 kB / 0.5722 GB, free: 4.875 MB / 378.7 MB Notification: Performance of Templates: time 0.003339/0.5722, allocations: 1.283 MB / 0.5735 GB, free: 3.605 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches