Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001159/0.001159, allocations: 112.9 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.001288/0.001288, allocations: 208.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.329/1.329, allocations: 227.4 MB / 247.6 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.2035/0.2035, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 71.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2931, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.002754/0.2959, allocations: 1.601 MB / 0.5332 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.2976, allocations: 1.163 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.2977, allocations: 5.25 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.2979, allocations: 24.48 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.2982, allocations: 86.23 kB / 0.5345 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.2985, allocations: 117 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.2986, allocations: 59.41 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2987, allocations: 22.84 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.698e-05/0.2988, allocations: 30.8 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.299, allocations: 30.84 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.299, allocations: 2.75 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.2991, allocations: 96.19 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.811e-05/0.2992, allocations: 19.98 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.2993, allocations: 23.98 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.2995, allocations: 142.5 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2995, allocations: 1.375 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2995, allocations: 0 / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2995, allocations: 0 / 0.535 GB, free: 11.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005113/0.3, allocations: 399.8 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3001, allocations: 9.625 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.3001, allocations: 8.969 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.3003, allocations: 198.2 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.3003, allocations: 1.75 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.3004, allocations: 1.75 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.3005, allocations: 69.27 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3005, allocations: 4 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3006, allocations: 1.375 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3006, allocations: 0 / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.126e-05/0.3007, allocations: 21.73 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.301, allocations: 288.1 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.3013, allocations: 48.44 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.642e-05/0.3013, allocations: 17.19 kB / 0.536 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.3013, allocations: 0 / 0.536 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.3014, allocations: 39.94 kB / 0.5361 GB, free: 9.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.234e-06/0.3014, allocations: 3.984 kB / 0.5361 GB, free: 9.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005757/0.302, allocations: 150.7 kB / 0.5362 GB, free: 9.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.302, allocations: 82.23 kB / 0.5363 GB, free: 9.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.3022, allocations: 147.9 kB / 0.5364 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.3022, allocations: 25.7 kB / 0.5365 GB, free: 9.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.3023, allocations: 91.52 kB / 0.5365 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.3023, allocations: 22.08 kB / 0.5366 GB, free: 9.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.3023, allocations: 23.02 kB / 0.5366 GB, free: 9.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.3024, allocations: 324.8 kB / 0.5369 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.786e-05/0.3025, allocations: 27.66 kB / 0.5369 GB, free: 9.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.622e-05/0.3026, allocations: 31.55 kB / 0.5369 GB, free: 9.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.3028, allocations: 52.61 kB / 0.537 GB, free: 9.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3028, allocations: 0 / 0.537 GB, free: 9.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002016/0.303, allocations: 82.72 kB / 0.5371 GB, free: 8.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.303, allocations: 9.25 kB / 0.5371 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.303, allocations: 1.281 kB / 0.5371 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.303, allocations: 0 / 0.5371 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.3031, allocations: 18.17 kB / 0.5371 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3031, allocations: 0 / 0.5371 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.3032, allocations: 7.719 kB / 0.5371 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.3032, allocations: 4.844 kB / 0.5371 GB, free: 8.977 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 (5): * Single equations (assignments): 5 * 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 8.019e-05/0.3033, allocations: 118.2 kB / 0.5372 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.3033, allocations: 11.84 kB / 0.5372 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.3036, allocations: 95.72 kB / 0.5373 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3036, allocations: 1.094 kB / 0.5373 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3036, allocations: 1.156 kB / 0.5373 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3036, allocations: 3.984 kB / 0.5373 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.304, allocations: 363.5 kB / 0.5377 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3041, allocations: 0 / 0.5377 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.314e-05/0.3041, allocations: 17.61 kB / 0.5377 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3041, allocations: 5.062 kB / 0.5377 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3041, allocations: 1.156 kB / 0.5377 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3042, allocations: 3.938 kB / 0.5377 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3042, allocations: 1.062 kB / 0.5377 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.3044, allocations: 182.5 kB / 0.5379 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.3045, allocations: 90.41 kB / 0.538 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.3045, allocations: 1.125 kB / 0.538 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.321e-05/0.3046, allocations: 7.469 kB / 0.538 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.3046, allocations: 6.672 kB / 0.538 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.3046, allocations: 1.219 kB / 0.538 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.3047, allocations: 109.5 kB / 0.5381 GB, free: 8.031 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3048, allocations: 1.156 kB / 0.5381 GB, free: 8.031 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.3051, allocations: 43.67 kB / 0.5381 GB, free: 8.012 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001148/0.3062, allocations: 0.4957 MB / 0.5386 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.3064, allocations: 55.44 kB / 0.5387 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3065, allocations: 0 / 0.5387 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.738e-05/0.3066, allocations: 29.09 kB / 0.5387 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.3069, allocations: 17.7 kB / 0.5387 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.3073, allocations: 203.1 kB / 0.5389 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.3076, allocations: 0.6933 MB / 0.5396 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.3077, allocations: 14.78 kB / 0.5396 GB, free: 6.816 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3077, allocations: 0 / 0.5396 GB, free: 6.816 MB / 398.1 MB Notification: Performance of Templates: time 0.004334/0.312, allocations: 1.969 MB / 0.5415 GB, free: 5.797 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches