Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001111/0.001111, allocations: 117.7 kB / 17.78 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.001849/0.001849, allocations: 203.8 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2313/0.2313, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 71.89 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3668, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003524/0.3704, allocations: 1.664 MB / 0.5326 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.3718, allocations: 0.5648 MB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.42e-05/0.3718, allocations: 0 / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000771/0.3726, allocations: 453.1 kB / 0.5336 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006232/0.3733, allocations: 292.7 kB / 0.5339 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.3737, allocations: 134.2 kB / 0.534 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.3741, allocations: 171.9 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.3742, allocations: 13.25 kB / 0.5342 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.3744, allocations: 122.8 kB / 0.5343 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.3746, allocations: 211 kB / 0.5345 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.3747, allocations: 3.781 kB / 0.5345 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.3748, allocations: 51.59 kB / 0.5346 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.3749, allocations: 83.12 kB / 0.5347 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.857e-05/0.375, allocations: 102.9 kB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.3754, allocations: 278 kB / 0.535 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3754, allocations: 1.062 kB / 0.535 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3754, allocations: 4 kB / 0.535 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3754, allocations: 0 / 0.535 GB, free: 10.92 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008104/0.3762, allocations: 0.6449 MB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3763, allocations: 9.094 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.3763, allocations: 47.14 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.3767, allocations: 290.5 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.3767, allocations: 10.53 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.3767, allocations: 7.656 kB / 0.536 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.3769, allocations: 59.84 kB / 0.5361 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.3769, allocations: 4.922 kB / 0.5361 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.3769, allocations: 4 kB / 0.5361 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3769, allocations: 1.938 kB / 0.5361 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.3771, allocations: 23.73 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006794/0.3777, allocations: 399.3 kB / 0.5365 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.3779, allocations: 42.72 kB / 0.5365 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.39e-05/0.378, allocations: 23.89 kB / 0.5365 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.378, allocations: 12.92 kB / 0.5366 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.378, allocations: 31.78 kB / 0.5366 GB, free: 9.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.378, allocations: 0 / 0.5366 GB, free: 9.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001022/0.3791, allocations: 304.2 kB / 0.5369 GB, free: 9.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.3791, allocations: 56.41 kB / 0.5369 GB, free: 9.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008842/0.38, allocations: 0.8648 MB / 0.5378 GB, free: 8.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.38, allocations: 25.7 kB / 0.5378 GB, free: 8.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.3802, allocations: 225.7 kB / 0.538 GB, free: 8.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.3803, allocations: 23.06 kB / 0.538 GB, free: 8.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.3803, allocations: 28.27 kB / 0.5381 GB, free: 8.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3805, allocations: 360.3 kB / 0.5384 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-05/0.3806, allocations: 25.8 kB / 0.5384 GB, free: 8.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.127e-05/0.3806, allocations: 26.67 kB / 0.5385 GB, free: 8.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.3808, allocations: 69.69 kB / 0.5385 GB, free: 8.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3808, allocations: 0 / 0.5385 GB, free: 8.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002547/0.3811, allocations: 137.5 kB / 0.5387 GB, free: 8.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3811, allocations: 5.625 kB / 0.5387 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3811, allocations: 0 / 0.5387 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.3811, allocations: 1.219 kB / 0.5387 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3812, allocations: 18.11 kB / 0.5387 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3813, allocations: 3.938 kB / 0.5387 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.691e-05/0.3813, allocations: 4.438 kB / 0.5387 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.3813, allocations: 5.297 kB / 0.5387 GB, free: 8.02 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.0001924/0.3815, allocations: 218 kB / 0.5389 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.525e-05/0.3816, allocations: 43.22 kB / 0.5389 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/0.3819, allocations: 155.1 kB / 0.5391 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.382, allocations: 5.25 kB / 0.5391 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.382, allocations: 9.031 kB / 0.5391 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.382, allocations: 3.984 kB / 0.5391 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006582/0.3826, allocations: 0.4987 MB / 0.5396 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3827, allocations: 5.031 kB / 0.5396 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.49e-05/0.3828, allocations: 17.02 kB / 0.5396 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3828, allocations: 5.75 kB / 0.5396 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.3828, allocations: 1.719 kB / 0.5396 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3828, allocations: 0 / 0.5396 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3828, allocations: 5.312 kB / 0.5396 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.3831, allocations: 234.5 kB / 0.5399 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-05/0.3832, allocations: 115 kB / 0.54 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.3832, allocations: 1.125 kB / 0.54 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-05/0.3833, allocations: 7.328 kB / 0.54 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.3834, allocations: 11.33 kB / 0.54 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.3834, allocations: 10.27 kB / 0.54 GB, free: 6.945 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006547/0.384, allocations: 0.6497 MB / 0.5406 GB, free: 6.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.384, allocations: 0 / 0.5406 GB, free: 6.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.3843, allocations: 34.12 kB / 0.5407 GB, free: 6.621 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.001001/0.3853, allocations: 457.4 kB / 0.5411 GB, free: 6.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.3856, allocations: 67.09 kB / 0.5412 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3856, allocations: 1.062 kB / 0.5412 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.242e-05/0.3857, allocations: 34.2 kB / 0.5412 GB, free: 6.344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.3861, allocations: 46.53 kB / 0.5412 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.3873, allocations: 0.8203 MB / 0.542 GB, free: 5.879 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.3877, allocations: 0.8272 MB / 0.5428 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.25e-05/0.3877, allocations: 8.875 kB / 0.5429 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.3878, allocations: 22.05 kB / 0.5429 GB, free: 5.098 MB / 398.1 MB Notification: Performance of SimCode: time 1.603e-06/0.3878, allocations: 0 / 0.5429 GB, free: 5.098 MB / 398.1 MB Notification: Performance of Templates: time 0.004993/0.3928, allocations: 1.745 MB / 0.5446 GB, free: 3.617 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches