Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001053, allocations: 103.6 kB / 296.7 MB, free: 6.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3325/0.3325, allocations: 44.83 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.91 kB / 465.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.362, allocations: 62.03 MB / 0.5152 GB, free: 37.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002466/0.3645, allocations: 1.639 MB / 0.5168 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.3658, allocations: 1.142 MB / 0.5179 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.321e-05/0.3659, allocations: 2.75 kB / 0.5179 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.3661, allocations: 36.36 kB / 0.5179 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.3663, allocations: 55.08 kB / 0.518 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.3665, allocations: 98.02 kB / 0.5181 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.3666, allocations: 62.48 kB / 0.5181 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.661e-05/0.3667, allocations: 13.06 kB / 0.5181 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.903e-05/0.3667, allocations: 27.08 kB / 0.5182 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.3669, allocations: 40.56 kB / 0.5182 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.3669, allocations: 3.125 kB / 0.5182 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.367, allocations: 89.3 kB / 0.5183 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.107e-05/0.3671, allocations: 7.594 kB / 0.5183 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.3671, allocations: 22.48 kB / 0.5183 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.3673, allocations: 141.1 kB / 0.5184 GB, free: 35.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.3673, allocations: 0 / 0.5184 GB, free: 35.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.3673, allocations: 0 / 0.5184 GB, free: 35.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.3673, allocations: 7.938 kB / 0.5185 GB, free: 35.45 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.0004027/0.3677, allocations: 396.7 kB / 0.5188 GB, free: 35.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3678, allocations: 8.375 kB / 0.5188 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.3678, allocations: 7.75 kB / 0.5188 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.368, allocations: 199.9 kB / 0.519 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.368, allocations: 384 / 0.519 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.368, allocations: 3.312 kB / 0.519 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.3682, allocations: 73.84 kB / 0.5191 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3682, allocations: 0 / 0.5191 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.3682, allocations: 0 / 0.5191 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3682, allocations: 2.938 kB / 0.5191 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.951e-05/0.3683, allocations: 23.86 kB / 0.5191 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.3686, allocations: 281.7 kB / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.3688, allocations: 54.56 kB / 0.5195 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.3689, allocations: 14.55 kB / 0.5195 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.3689, allocations: 0 / 0.5195 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.3689, allocations: 38.09 kB / 0.5195 GB, free: 34.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.3689, allocations: 0 / 0.5195 GB, free: 34.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004993/0.3694, allocations: 149 kB / 0.5197 GB, free: 34.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.3695, allocations: 83.92 kB / 0.5197 GB, free: 34.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3696, allocations: 147.9 kB / 0.5199 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.866e-06/0.3696, allocations: 25.7 kB / 0.5199 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.3696, allocations: 95.03 kB / 0.52 GB, free: 33.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.3697, allocations: 18.11 kB / 0.52 GB, free: 33.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.3697, allocations: 20.5 kB / 0.52 GB, free: 33.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.3697, allocations: 329.1 kB / 0.5203 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.473e-05/0.3698, allocations: 18.88 kB / 0.5204 GB, free: 33.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.268e-05/0.3699, allocations: 35.31 kB / 0.5204 GB, free: 33.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.37, allocations: 53.67 kB / 0.5204 GB, free: 33.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.37, allocations: 0 / 0.5204 GB, free: 33.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001535/0.3702, allocations: 90.27 kB / 0.5205 GB, free: 33.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3702, allocations: 5.531 kB / 0.5205 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3702, allocations: 0 / 0.5205 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.3702, allocations: 0 / 0.5205 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.571e-05/0.3703, allocations: 14.14 kB / 0.5205 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.3703, allocations: 0 / 0.5205 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.3703, allocations: 6.031 kB / 0.5206 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.3703, allocations: 6.625 kB / 0.5206 GB, free: 33.52 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.171e-05/0.3704, allocations: 117.6 kB / 0.5207 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.3704, allocations: 10.84 kB / 0.5207 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.3706, allocations: 97.16 kB / 0.5208 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.3707, allocations: 3.25 kB / 0.5208 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3707, allocations: 3.938 kB / 0.5208 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3707, allocations: 0 / 0.5208 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.371, allocations: 368.9 kB / 0.5211 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.371, allocations: 0 / 0.5211 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-05/0.3711, allocations: 13.84 kB / 0.5211 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3711, allocations: 0 / 0.5211 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.3711, allocations: 0 / 0.5211 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3711, allocations: 6.969 kB / 0.5212 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3711, allocations: 0 / 0.5212 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.3715, allocations: 0.7644 MB / 0.5219 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.3715, allocations: 81.02 kB / 0.522 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.3715, allocations: 5.75 kB / 0.522 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.3716, allocations: 6.875 kB / 0.522 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.3716, allocations: 7.125 kB / 0.522 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.3716, allocations: 0 / 0.522 GB, free: 32.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.229e-05/0.3717, allocations: 113.5 kB / 0.5221 GB, free: 32.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3717, allocations: 4 kB / 0.5221 GB, free: 32.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003439/0.372, allocations: 42.64 kB / 0.5221 GB, free: 32.04 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008915/0.3729, allocations: 495.9 kB / 0.5226 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.3731, allocations: 52.86 kB / 0.5227 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3731, allocations: 0 / 0.5227 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.786e-05/0.3732, allocations: 26.67 kB / 0.5227 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.3735, allocations: 20.48 kB / 0.5227 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.3739, allocations: 321 kB / 0.523 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.374, allocations: 0.6896 MB / 0.5237 GB, free: 30.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.14e-05/0.374, allocations: 20.17 kB / 0.5237 GB, free: 30.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.3741, allocations: 16.28 kB / 0.5237 GB, free: 30.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3741, allocations: 0 / 0.5237 GB, free: 30.77 MB / 378.7 MB Notification: Performance of Templates: time 0.003373/0.3775, allocations: 1.733 MB / 0.5254 GB, free: 30.57 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches