Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001351/0.001351, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001514, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.238/0.238, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 72.09 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3565, allocations: 62.45 MB / 0.5317 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003192/0.3598, allocations: 1.638 MB / 0.5333 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.3608, allocations: 0.5612 MB / 0.5338 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-05/0.3609, allocations: 1.375 kB / 0.5338 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.3612, allocations: 94.3 kB / 0.5339 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.3616, allocations: 110.2 kB / 0.534 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.3619, allocations: 131.8 kB / 0.5342 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.3621, allocations: 95.44 kB / 0.5343 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.3622, allocations: 29.38 kB / 0.5343 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.945e-05/0.3623, allocations: 47.03 kB / 0.5343 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.3624, allocations: 62.75 kB / 0.5344 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.3624, allocations: 5.281 kB / 0.5344 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.3625, allocations: 41.23 kB / 0.5344 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.846e-05/0.3626, allocations: 31.19 kB / 0.5345 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.3627, allocations: 47.7 kB / 0.5345 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.3629, allocations: 129.5 kB / 0.5346 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3629, allocations: 1.094 kB / 0.5346 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3629, allocations: 0 / 0.5346 GB, free: 11.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.3629, allocations: 0 / 0.5346 GB, free: 11.63 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005478/0.3635, allocations: 438.6 kB / 0.535 GB, free: 11.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3635, allocations: 10.31 kB / 0.5351 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.3636, allocations: 10.75 kB / 0.5351 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.3638, allocations: 214.3 kB / 0.5353 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3638, allocations: 6.469 kB / 0.5353 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.3639, allocations: 8.844 kB / 0.5353 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.3641, allocations: 75.97 kB / 0.5354 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.3641, allocations: 1.094 kB / 0.5354 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3641, allocations: 4 kB / 0.5354 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.3641, allocations: 6.219 kB / 0.5354 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.3643, allocations: 51.7 kB / 0.5354 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.3648, allocations: 344.2 kB / 0.5357 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.3649, allocations: 72.17 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.214e-05/0.365, allocations: 27.66 kB / 0.5358 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.365, allocations: 1.219 kB / 0.5358 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.3651, allocations: 31.84 kB / 0.5359 GB, free: 10.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3651, allocations: 1.5 kB / 0.5359 GB, free: 10.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001099/0.3662, allocations: 337 kB / 0.5362 GB, free: 10.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.3662, allocations: 57.97 kB / 0.5363 GB, free: 10.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.3665, allocations: 241.5 kB / 0.5365 GB, free: 9.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.3665, allocations: 26.52 kB / 0.5365 GB, free: 9.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.3666, allocations: 114.5 kB / 0.5366 GB, free: 9.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.3666, allocations: 40.78 kB / 0.5367 GB, free: 9.812 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.3667, allocations: 27.48 kB / 0.5367 GB, free: 9.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3668, allocations: 331.5 kB / 0.537 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.3669, allocations: 43.75 kB / 0.537 GB, free: 9.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.367, allocations: 45.56 kB / 0.5371 GB, free: 9.422 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.3673, allocations: 114.4 kB / 0.5372 GB, free: 9.363 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3673, allocations: 1.281 kB / 0.5372 GB, free: 9.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002914/0.3676, allocations: 155 kB / 0.5373 GB, free: 9.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3676, allocations: 8.938 kB / 0.5373 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3676, allocations: 3.938 kB / 0.5374 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3676, allocations: 5.344 kB / 0.5374 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3678, allocations: 24.86 kB / 0.5374 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3678, allocations: 1.094 kB / 0.5374 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.3678, allocations: 11.83 kB / 0.5374 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.3678, allocations: 2.625 kB / 0.5374 GB, free: 9.25 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.0001095/0.368, allocations: 136.1 kB / 0.5375 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.368, allocations: 14.22 kB / 0.5375 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003917/0.3684, allocations: 194.3 kB / 0.5377 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3684, allocations: 0.7812 kB / 0.5377 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3684, allocations: 1.125 kB / 0.5377 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3684, allocations: 0 / 0.5377 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000657/0.3691, allocations: 0.4966 MB / 0.5382 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3691, allocations: 9.297 kB / 0.5382 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.67e-05/0.3692, allocations: 28.39 kB / 0.5382 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3692, allocations: 4.969 kB / 0.5383 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.3693, allocations: 2.156 kB / 0.5383 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3693, allocations: 4.906 kB / 0.5383 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3693, allocations: 1.25 kB / 0.5383 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.3696, allocations: 251 kB / 0.5385 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/0.3697, allocations: 92.59 kB / 0.5386 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.3697, allocations: 5.938 kB / 0.5386 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.3698, allocations: 1.781 kB / 0.5386 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.3698, allocations: 9.047 kB / 0.5386 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.3698, allocations: 3.812 kB / 0.5386 GB, free: 8.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001664/0.37, allocations: 186.4 kB / 0.5388 GB, free: 8.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.37, allocations: 5.531 kB / 0.5388 GB, free: 8.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.3703, allocations: 27.22 kB / 0.5388 GB, free: 8.082 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.001028/0.3713, allocations: 454.6 kB / 0.5392 GB, free: 7.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002782/0.3716, allocations: 116.4 kB / 0.5394 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3716, allocations: 0 / 0.5394 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.3717, allocations: 68.55 kB / 0.5394 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.3721, allocations: 19.33 kB / 0.5394 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006683/0.3728, allocations: 373.4 kB / 0.5398 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.3731, allocations: 0.7245 MB / 0.5405 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.496e-05/0.3732, allocations: 16.5 kB / 0.5405 GB, free: 6.754 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3732, allocations: 0 / 0.5405 GB, free: 6.754 MB / 398.1 MB Notification: Performance of Templates: time 0.004224/0.3774, allocations: 2.17 MB / 0.5426 GB, free: 5.637 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches