Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1D.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 183 kB / 13.19 MB, free: 2.129 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.496/1.496, allocations: 205.2 MB / 218.9 MB, free: 9.195 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.000787/0.000787, allocations: 86.59 kB / 267.1 MB, free: 9.27 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.3709/0.3709, allocations: 43.47 MB / 358.6 MB, free: 52.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.62e-05/2.624e-05, allocations: 4 kB / 425.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1106, allocations: 58.85 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3274/0.438, allocations: 86.4 MB / 0.5572 GB, free: 2.594 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.4383, allocations: 74.22 kB / 0.5573 GB, free: 2.523 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008981/0.4473, allocations: 4.056 MB / 0.5612 GB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4473, allocations: 0 / 0.5612 GB, free: 14.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.4473, allocations: 4 kB / 0.5612 GB, free: 14.5 MB / 394.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.0003068/0.4477, allocations: 388 kB / 0.5616 GB, free: 14.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.4477, allocations: 12.03 kB / 0.5616 GB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.4477, allocations: 15.25 kB / 0.5616 GB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.448, allocations: 209.8 kB / 0.5618 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.448, allocations: 8 kB / 0.5618 GB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.448, allocations: 0 / 0.5618 GB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.67e-05/0.4481, allocations: 41.97 kB / 0.5619 GB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.4481, allocations: 0 / 0.5619 GB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.4481, allocations: 1.375 kB / 0.5619 GB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4481, allocations: 4 kB / 0.5619 GB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.796e-05/0.4482, allocations: 15.98 kB / 0.5619 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.4486, allocations: 304.8 kB / 0.5622 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.4487, allocations: 38.67 kB / 0.5622 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.4488, allocations: 12.84 kB / 0.5622 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.4488, allocations: 0 / 0.5622 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.4488, allocations: 42.56 kB / 0.5623 GB, free: 13.28 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.4488, allocations: 5.406 kB / 0.5623 GB, free: 13.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003487/0.4492, allocations: 133 kB / 0.5624 GB, free: 13.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.4492, allocations: 55.34 kB / 0.5624 GB, free: 13.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.4494, allocations: 217.8 kB / 0.5627 GB, free: 12.85 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.4494, allocations: 25.7 kB / 0.5627 GB, free: 12.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.4495, allocations: 104.1 kB / 0.5628 GB, free: 12.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.4495, allocations: 19.73 kB / 0.5628 GB, free: 12.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.4495, allocations: 0 / 0.5628 GB, free: 12.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.4496, allocations: 330.8 kB / 0.5631 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.814e-05/0.4497, allocations: 12 kB / 0.5631 GB, free: 12.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.382e-05/0.4497, allocations: 15.94 kB / 0.5631 GB, free: 12.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.883e-05/0.4497, allocations: 15.98 kB / 0.5632 GB, free: 12.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.4497, allocations: 0 / 0.5632 GB, free: 12.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.683e-05/0.4498, allocations: 69.5 kB / 0.5632 GB, free: 12.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.4499, allocations: 4 kB / 0.5632 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.4499, allocations: 0.6562 kB / 0.5632 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.4499, allocations: 4 kB / 0.5632 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.551e-05/0.45, allocations: 16.55 kB / 0.5632 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.45, allocations: 7.953 kB / 0.5633 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.235e-05/0.45, allocations: 4 kB / 0.5633 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.45, allocations: 4 kB / 0.5633 GB, free: 12.21 MB / 394.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 (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 6.151e-05/0.4501, allocations: 110.1 kB / 0.5634 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.4502, allocations: 11.84 kB / 0.5634 GB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.4503, allocations: 98.56 kB / 0.5635 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4503, allocations: 0 / 0.5635 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4503, allocations: 0 / 0.5635 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4503, allocations: 4.094 kB / 0.5635 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003502/0.4507, allocations: 370.4 kB / 0.5638 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4507, allocations: 3.984 kB / 0.5638 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.043e-05/0.4508, allocations: 15.98 kB / 0.5638 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4508, allocations: 0 / 0.5638 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.4508, allocations: 4 kB / 0.5639 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4508, allocations: 7.953 kB / 0.5639 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4508, allocations: 0 / 0.5639 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.4509, allocations: 163.5 kB / 0.564 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.451, allocations: 96.91 kB / 0.5641 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.451, allocations: 8 kB / 0.5641 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.969e-05/0.4511, allocations: 11.88 kB / 0.5641 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.4512, allocations: 15.94 kB / 0.5641 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.4512, allocations: 0 / 0.5641 GB, free: 11.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000144/0.4513, allocations: 175.2 kB / 0.5643 GB, free: 11.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4513, allocations: 0 / 0.5643 GB, free: 11.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002111/0.4515, allocations: 24 kB / 0.5643 GB, free: 11.02 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 () * 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.0006982/0.4522, allocations: 364.1 kB / 0.5647 GB, free: 10.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.088e-05/0.4523, allocations: 32 kB / 0.5647 GB, free: 10.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4524, allocations: 0 / 0.5647 GB, free: 10.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.305e-05/0.4524, allocations: 27.92 kB / 0.5647 GB, free: 10.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.4526, allocations: 12.19 kB / 0.5647 GB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.4529, allocations: 194.1 kB / 0.5649 GB, free: 10.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.4532, allocations: 0.7121 MB / 0.5656 GB, free: 9.715 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.242e-05/0.4532, allocations: 20.16 kB / 0.5656 GB, free: 9.695 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.4533, allocations: 15.44 kB / 0.5657 GB, free: 9.68 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4533, allocations: 4 kB / 0.5657 GB, free: 9.676 MB / 394.7 MB Notification: Performance of Templates: time 0.003015/0.4563, allocations: 1.227 MB / 0.5669 GB, free: 8.457 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches