Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.001219, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 76.09 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3185, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003251/0.3218, allocations: 1.678 MB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.3232, allocations: 0.5876 MB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.3234, allocations: 1.156 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.3239, allocations: 74.55 kB / 0.534 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004431/0.3243, allocations: 105.4 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.3249, allocations: 184.2 kB / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.3252, allocations: 91.88 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3253, allocations: 23.59 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.3254, allocations: 36.41 kB / 0.5344 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.3255, allocations: 56.22 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.3256, allocations: 4.656 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.3257, allocations: 48.55 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.52e-05/0.3258, allocations: 30.62 kB / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.201e-05/0.3258, allocations: 38.23 kB / 0.5346 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.3261, allocations: 126.1 kB / 0.5347 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3261, allocations: 0 / 0.5347 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3261, allocations: 0 / 0.5347 GB, free: 11.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3262, allocations: 1.375 kB / 0.5347 GB, free: 11.35 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.0005771/0.3267, allocations: 427 kB / 0.5351 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3268, allocations: 8.25 kB / 0.5351 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.3268, allocations: 14.34 kB / 0.5351 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.3271, allocations: 205.8 kB / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3271, allocations: 1.75 kB / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.3271, allocations: 7.125 kB / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.3274, allocations: 68.98 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3274, allocations: 1.375 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.3274, allocations: 11.91 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3274, allocations: 1.375 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.3276, allocations: 44.72 kB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.3281, allocations: 329.8 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.3284, allocations: 56.67 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.196e-05/0.3285, allocations: 29.33 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.3285, allocations: 5.375 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.3285, allocations: 35.97 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.3285, allocations: 0 / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001613/0.3302, allocations: 421.7 kB / 0.5363 GB, free: 9.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.3302, allocations: 64.75 kB / 0.5363 GB, free: 9.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.3304, allocations: 211.1 kB / 0.5365 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3305, allocations: 25.7 kB / 0.5366 GB, free: 9.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.3305, allocations: 107.2 kB / 0.5367 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.017e-05/0.3306, allocations: 39.22 kB / 0.5367 GB, free: 9.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.3306, allocations: 26.53 kB / 0.5367 GB, free: 9.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3308, allocations: 326.1 kB / 0.537 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.3309, allocations: 53.91 kB / 0.5371 GB, free: 9.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.3311, allocations: 57.27 kB / 0.5371 GB, free: 9.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.3314, allocations: 128 kB / 0.5373 GB, free: 9.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.3314, allocations: 3.938 kB / 0.5373 GB, free: 9.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003858/0.3318, allocations: 169.4 kB / 0.5374 GB, free: 9.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3318, allocations: 4.719 kB / 0.5374 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3319, allocations: 4 kB / 0.5374 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3319, allocations: 1.125 kB / 0.5374 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.332, allocations: 28.05 kB / 0.5375 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.332, allocations: 1.125 kB / 0.5375 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.03e-05/0.3321, allocations: 10.2 kB / 0.5375 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3321, allocations: 2.031 kB / 0.5375 GB, free: 8.988 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 (11): * Single equations (assignments): 11 * 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.0001094/0.3322, allocations: 139.9 kB / 0.5376 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.3323, allocations: 13.25 kB / 0.5376 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004662/0.3327, allocations: 192.5 kB / 0.5378 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3328, allocations: 4.969 kB / 0.5378 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3328, allocations: 0 / 0.5378 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3328, allocations: 0.9688 kB / 0.5378 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007164/0.3335, allocations: 0.502 MB / 0.5383 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3335, allocations: 1.406 kB / 0.5383 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.3336, allocations: 29.3 kB / 0.5383 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3337, allocations: 1.25 kB / 0.5383 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3337, allocations: 1.438 kB / 0.5383 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3337, allocations: 5.125 kB / 0.5383 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3337, allocations: 1.375 kB / 0.5383 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.3341, allocations: 281.1 kB / 0.5386 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.3342, allocations: 97.06 kB / 0.5387 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.3342, allocations: 1.031 kB / 0.5387 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.3343, allocations: 14.83 kB / 0.5387 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.3344, allocations: 12.38 kB / 0.5387 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.3344, allocations: 3.344 kB / 0.5387 GB, free: 7.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.3346, allocations: 167.2 kB / 0.5389 GB, free: 7.797 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3346, allocations: 1.094 kB / 0.5389 GB, free: 7.797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002936/0.3349, allocations: 27.06 kB / 0.5389 GB, free: 7.789 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001125/0.336, allocations: 464.8 kB / 0.5394 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003774/0.3364, allocations: 132.4 kB / 0.5395 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3364, allocations: 1.094 kB / 0.5395 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.3366, allocations: 70.8 kB / 0.5396 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.337, allocations: 27.03 kB / 0.5396 GB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008059/0.3378, allocations: 344.8 kB / 0.5399 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.3381, allocations: 0.7211 MB / 0.5406 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/0.3382, allocations: 15.53 kB / 0.5406 GB, free: 6.453 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3382, allocations: 0 / 0.5406 GB, free: 6.453 MB / 398.1 MB Notification: Performance of Templates: time 0.005001/0.3432, allocations: 2.119 MB / 0.5427 GB, free: 5.352 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches