Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 187.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2283/0.2283, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 63.89 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.55/0.5519, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.004415/0.5563, allocations: 1.613 MB / 0.5205 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009534/0.5573, allocations: 418.8 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.5575, allocations: 1.375 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.5578, allocations: 29.14 kB / 0.5209 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002676/0.5582, allocations: 43.75 kB / 0.521 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.5586, allocations: 95.67 kB / 0.5211 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.5589, allocations: 75.02 kB / 0.5211 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.5591, allocations: 34.16 kB / 0.5212 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.5592, allocations: 27.66 kB / 0.5212 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.5593, allocations: 30.03 kB / 0.5212 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.5594, allocations: 4.406 kB / 0.5212 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.5596, allocations: 44.94 kB / 0.5213 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.002e-05/0.5597, allocations: 16.69 kB / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.042e-05/0.5597, allocations: 36.62 kB / 0.5213 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.5601, allocations: 107.2 kB / 0.5214 GB, free: 1.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.5601, allocations: 0.6094 kB / 0.5214 GB, free: 1.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5601, allocations: 5.094 kB / 0.5214 GB, free: 1.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.5601, allocations: 0 / 0.5214 GB, free: 1.973 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000525/0.5606, allocations: 393.2 kB / 0.5218 GB, free: 1.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.5607, allocations: 9.562 kB / 0.5218 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.5607, allocations: 9.188 kB / 0.5218 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.5609, allocations: 197.6 kB / 0.522 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.5609, allocations: 6.969 kB / 0.522 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.561, allocations: 7.031 kB / 0.522 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.5612, allocations: 79.53 kB / 0.5221 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.5612, allocations: 5.062 kB / 0.5221 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.5612, allocations: 0.5156 kB / 0.5221 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.5612, allocations: 6.094 kB / 0.5221 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.5613, allocations: 39.3 kB / 0.5221 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.5618, allocations: 319.4 kB / 0.5225 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.5619, allocations: 64.61 kB / 0.5225 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.986e-05/0.562, allocations: 26.17 kB / 0.5225 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.562, allocations: 1.125 kB / 0.5225 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.562, allocations: 33.59 kB / 0.5226 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.562, allocations: 0 / 0.5226 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001154/0.5632, allocations: 300.3 kB / 0.5229 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.5632, allocations: 52.53 kB / 0.5229 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.5634, allocations: 152.3 kB / 0.5231 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.5635, allocations: 29.7 kB / 0.5231 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.5635, allocations: 99.59 kB / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.5636, allocations: 40.56 kB / 0.5232 GB, free: 444 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.339e-05/0.5636, allocations: 36.16 kB / 0.5233 GB, free: 412 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.804e-05/0.5637, allocations: 321.3 kB / 0.5236 GB, free: 88 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.5638, allocations: 38.12 kB / 0.5236 GB, free: 76 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.184e-05/0.5639, allocations: 37.44 kB / 0.5236 GB, free: 68 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.5641, allocations: 90.81 kB / 0.5237 GB, free: 28 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5641, allocations: 0 / 0.5237 GB, free: 28 kB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000312/0.5645, allocations: 133 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5645, allocations: 6.203 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.5645, allocations: 0 / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.5645, allocations: 4.906 kB / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.5647, allocations: 29.53 kB / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5647, allocations: 0 / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.013e-05/0.5647, allocations: 9.406 kB / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.5648, allocations: 4.344 kB / 0.5239 GB, free: 15.95 MB / 398.1 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 (13): * Single equations (assignments): 13 * 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 0.000134/0.5649, allocations: 134.6 kB / 0.524 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.5649, allocations: 8.406 kB / 0.524 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.5653, allocations: 163.3 kB / 0.5242 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5653, allocations: 1.5 kB / 0.5242 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.5654, allocations: 4.797 kB / 0.5242 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.5654, allocations: 1.859 kB / 0.5242 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007256/0.5661, allocations: 473.4 kB / 0.5246 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5661, allocations: 0 / 0.5246 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.5662, allocations: 25.11 kB / 0.5247 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5662, allocations: 0.7031 kB / 0.5247 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.5662, allocations: 5.844 kB / 0.5247 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.5663, allocations: 2.484 kB / 0.5247 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5663, allocations: 3.938 kB / 0.5247 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.5666, allocations: 247 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/0.5667, allocations: 86.58 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.5667, allocations: 0.75 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.5668, allocations: 5.297 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.5669, allocations: 12.31 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.5669, allocations: 4.062 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.567, allocations: 124.9 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.567, allocations: 0 / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.5673, allocations: 25 kB / 0.5252 GB, free: 14.95 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001201/0.5685, allocations: 456.1 kB / 0.5256 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003371/0.5688, allocations: 101.4 kB / 0.5257 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5689, allocations: 0 / 0.5257 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.569, allocations: 50.92 kB / 0.5257 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.5694, allocations: 19.3 kB / 0.5258 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007032/0.5701, allocations: 247 kB / 0.526 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005728/0.5707, allocations: 0.7048 MB / 0.5267 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.971e-05/0.5707, allocations: 17.28 kB / 0.5267 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.5708, allocations: 17.66 kB / 0.5267 GB, free: 13.79 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5708, allocations: 0 / 0.5267 GB, free: 13.79 MB / 398.1 MB Notification: Performance of Templates: time 0.005541/0.5764, allocations: 1.522 MB / 0.5282 GB, free: 13.31 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches