Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009083/0.0009081, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001006, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2648/0.2648, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 76.09 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5536/0.555, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.004297/0.5594, allocations: 1.609 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.5607, allocations: 0.5548 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.5608, allocations: 1.375 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004063/0.5613, allocations: 110.5 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004671/0.5617, allocations: 118.3 kB / 0.5334 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.5623, allocations: 107.5 kB / 0.5335 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.5626, allocations: 89 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.5628, allocations: 28.22 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.5629, allocations: 35.16 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.5631, allocations: 64.94 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.5632, allocations: 4.125 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.5634, allocations: 52.78 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.5635, allocations: 21.55 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.714e-05/0.5636, allocations: 46.48 kB / 0.5338 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004182/0.5641, allocations: 118.6 kB / 0.5339 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.5641, allocations: 0 / 0.5339 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5641, allocations: 0 / 0.5339 GB, free: 11.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.5641, allocations: 0 / 0.5339 GB, free: 11.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008736/0.565, allocations: 431.9 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.564e-05/0.5651, allocations: 16.92 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.794e-05/0.5652, allocations: 10.45 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.5655, allocations: 215.5 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.5655, allocations: 5.469 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.049e-05/0.5656, allocations: 2.406 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.5658, allocations: 56.31 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.5658, allocations: 3.953 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.5659, allocations: 0 / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.5659, allocations: 1.25 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.566, allocations: 28.81 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006335/0.5666, allocations: 313.6 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.5668, allocations: 48.36 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.343e-05/0.5669, allocations: 16.84 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.5669, allocations: 5.5 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.567, allocations: 34.56 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.567, allocations: 0 / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001283/0.5683, allocations: 251.9 kB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.5684, allocations: 52.53 kB / 0.5353 GB, free: 10.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003934/0.5688, allocations: 257.2 kB / 0.5356 GB, free: 9.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.5688, allocations: 26.83 kB / 0.5356 GB, free: 9.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.5689, allocations: 115 kB / 0.5357 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.569, allocations: 31.2 kB / 0.5357 GB, free: 9.762 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.5691, allocations: 20.12 kB / 0.5358 GB, free: 9.742 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.5693, allocations: 323.5 kB / 0.5361 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.5694, allocations: 31.44 kB / 0.5361 GB, free: 9.406 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.133e-05/0.5695, allocations: 29.52 kB / 0.5361 GB, free: 9.395 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.5697, allocations: 86.16 kB / 0.5362 GB, free: 9.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5697, allocations: 0 / 0.5362 GB, free: 9.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002978/0.57, allocations: 113.2 kB / 0.5363 GB, free: 9.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.5701, allocations: 5.281 kB / 0.5363 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.5701, allocations: 1.125 kB / 0.5363 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.5701, allocations: 3.938 kB / 0.5363 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.5703, allocations: 18.48 kB / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.5703, allocations: 0 / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/0.5703, allocations: 20.02 kB / 0.5364 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.5704, allocations: 1.281 kB / 0.5364 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 (8): * Single equations (assignments): 8 * 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.0001728/0.5705, allocations: 136.3 kB / 0.5365 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/0.5706, allocations: 14.62 kB / 0.5365 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.571, allocations: 126.8 kB / 0.5366 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.571, allocations: 1.188 kB / 0.5366 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.571, allocations: 4.953 kB / 0.5366 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.571, allocations: 7.938 kB / 0.5366 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007152/0.5717, allocations: 426.8 kB / 0.537 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5718, allocations: 0 / 0.537 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.781e-05/0.5719, allocations: 17.86 kB / 0.5371 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.5719, allocations: 5.062 kB / 0.5371 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.5719, allocations: 2.094 kB / 0.5371 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.5719, allocations: 1.062 kB / 0.5371 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5719, allocations: 4.031 kB / 0.5371 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.5723, allocations: 218.3 kB / 0.5373 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.5723, allocations: 87.88 kB / 0.5374 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.5724, allocations: 9.562 kB / 0.5374 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.5724, allocations: 3.875 kB / 0.5374 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.5725, allocations: 14.53 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.5725, allocations: 3.219 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002301/0.5728, allocations: 191.7 kB / 0.5376 GB, free: 8.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5728, allocations: 1.094 kB / 0.5376 GB, free: 8.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003665/0.5731, allocations: 18.91 kB / 0.5376 GB, free: 8.176 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 (8): * Single equations (assignments): 8 * 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.001236/0.5744, allocations: 465.2 kB / 0.538 GB, free: 7.934 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.5747, allocations: 78.73 kB / 0.5381 GB, free: 7.898 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5747, allocations: 1.062 kB / 0.5381 GB, free: 7.898 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.5748, allocations: 39.45 kB / 0.5382 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.5752, allocations: 30.92 kB / 0.5382 GB, free: 7.863 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006199/0.5758, allocations: 301.1 kB / 0.5385 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.5763, allocations: 0.7156 MB / 0.5392 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.628e-05/0.5763, allocations: 20.84 kB / 0.5392 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.5764, allocations: 16.98 kB / 0.5392 GB, free: 6.91 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5764, allocations: 1.156 kB / 0.5392 GB, free: 6.91 MB / 398.1 MB Notification: Performance of Templates: time 0.005296/0.5817, allocations: 1.405 MB / 0.5406 GB, free: 6.195 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches