Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001188, allocations: 114.4 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 202 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2136/0.2136, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 76.08 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2974, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003071/0.3005, allocations: 1.653 MB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.3016, allocations: 0.5512 MB / 0.5338 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.559e-05/0.3017, allocations: 1.375 kB / 0.5338 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.3019, allocations: 37.39 kB / 0.5339 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.3022, allocations: 81.75 kB / 0.534 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.3026, allocations: 116.8 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.3028, allocations: 91.55 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3029, allocations: 29.73 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.936e-05/0.303, allocations: 33.61 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.963e-05/0.3031, allocations: 40.14 kB / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.3031, allocations: 5.5 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.3032, allocations: 46.23 kB / 0.5343 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.3034, allocations: 22.8 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.3034, allocations: 34.61 kB / 0.5344 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.3036, allocations: 114 kB / 0.5345 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3036, allocations: 0 / 0.5345 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3036, allocations: 0 / 0.5345 GB, free: 11.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.3036, allocations: 5.375 kB / 0.5345 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004854/0.3041, allocations: 412.3 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3042, allocations: 10.52 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.616e-05/0.3043, allocations: 10.34 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.3045, allocations: 205.3 kB / 0.5351 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3045, allocations: 3.125 kB / 0.5351 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.3045, allocations: 4.5 kB / 0.5351 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.3047, allocations: 87.72 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3047, allocations: 5.375 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3047, allocations: 3.984 kB / 0.5352 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.3047, allocations: 1.375 kB / 0.5352 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.3049, allocations: 45.39 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.3054, allocations: 322.1 kB / 0.5355 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.3055, allocations: 72.45 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.914e-05/0.3056, allocations: 27.69 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.3056, allocations: 1.344 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.3057, allocations: 31.72 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.3057, allocations: 5 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001133/0.3068, allocations: 334.2 kB / 0.536 GB, free: 10.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.3069, allocations: 53.5 kB / 0.536 GB, free: 10.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.3071, allocations: 169.5 kB / 0.5362 GB, free: 9.926 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3071, allocations: 26.92 kB / 0.5362 GB, free: 9.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.3072, allocations: 104.7 kB / 0.5363 GB, free: 9.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.3072, allocations: 40.39 kB / 0.5364 GB, free: 9.758 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.3073, allocations: 35.02 kB / 0.5364 GB, free: 9.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3074, allocations: 322.1 kB / 0.5367 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.3075, allocations: 43.97 kB / 0.5367 GB, free: 9.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.3076, allocations: 44.97 kB / 0.5368 GB, free: 9.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.3079, allocations: 111.9 kB / 0.5369 GB, free: 9.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.3079, allocations: 0 / 0.5369 GB, free: 9.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002798/0.3082, allocations: 150.3 kB / 0.537 GB, free: 9.223 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3082, allocations: 9.188 kB / 0.537 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3082, allocations: 0 / 0.537 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3082, allocations: 1.125 kB / 0.537 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3084, allocations: 29.14 kB / 0.5371 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3084, allocations: 3.984 kB / 0.5371 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.212e-05/0.3085, allocations: 8.125 kB / 0.5371 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.3085, allocations: 2.594 kB / 0.5371 GB, free: 9.203 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.0001019/0.3086, allocations: 129.7 kB / 0.5372 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.3087, allocations: 17.06 kB / 0.5372 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.309, allocations: 184.4 kB / 0.5374 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3091, allocations: 0.9688 kB / 0.5374 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3091, allocations: 0 / 0.5374 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3091, allocations: 0.9688 kB / 0.5374 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007061/0.3098, allocations: 0.4947 MB / 0.5379 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3098, allocations: 0 / 0.5379 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.614e-05/0.3099, allocations: 32.61 kB / 0.5379 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3099, allocations: 1.312 kB / 0.5379 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.3099, allocations: 3.219 kB / 0.5379 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3099, allocations: 0 / 0.5379 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3099, allocations: 1.406 kB / 0.5379 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.3103, allocations: 255.6 kB / 0.5382 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.3103, allocations: 84.2 kB / 0.5382 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.3103, allocations: 1.125 kB / 0.5382 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/0.3104, allocations: 7.531 kB / 0.5383 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.3105, allocations: 13.36 kB / 0.5383 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.3105, allocations: 4.062 kB / 0.5383 GB, free: 8.184 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.3107, allocations: 134.9 kB / 0.5384 GB, free: 8.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3107, allocations: 0 / 0.5384 GB, free: 8.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.3109, allocations: 38.39 kB / 0.5384 GB, free: 8.062 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.001056/0.312, allocations: 449.8 kB / 0.5389 GB, free: 7.832 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.3123, allocations: 113 kB / 0.539 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3123, allocations: 0.75 kB / 0.539 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.3125, allocations: 59.59 kB / 0.539 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.3128, allocations: 23.34 kB / 0.539 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005886/0.3134, allocations: 297.8 kB / 0.5393 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.3137, allocations: 0.7088 MB / 0.54 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.3138, allocations: 21.59 kB / 0.54 GB, free: 6.789 MB / 398.1 MB Notification: Performance of SimCode: time 1.643e-06/0.3138, allocations: 0 / 0.54 GB, free: 6.789 MB / 398.1 MB Notification: Performance of Templates: time 0.004133/0.3179, allocations: 2.033 MB / 0.542 GB, free: 5.742 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches