Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,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.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001905/0.001905, allocations: 122.5 kB / 18.46 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002242/0.002242, allocations: 207.7 kB / 19.41 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2256/0.2256, allocations: 46.13 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 80.08 kB / 482.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2868, allocations: 62.44 MB / 0.5318 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.00279/0.2896, allocations: 1.611 MB / 0.5333 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009544/0.2905, allocations: 0.5472 MB / 0.5339 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.461e-05/0.2906, allocations: 0 / 0.5339 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.2908, allocations: 73.39 kB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.2911, allocations: 110.8 kB / 0.534 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.2913, allocations: 97.97 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.2915, allocations: 75.83 kB / 0.5342 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.645e-05/0.2916, allocations: 18.84 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.544e-05/0.2916, allocations: 31.03 kB / 0.5343 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.888e-05/0.2917, allocations: 55.27 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.2917, allocations: 4.125 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.832e-05/0.2918, allocations: 44.86 kB / 0.5344 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.854e-05/0.2919, allocations: 28.16 kB / 0.5344 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.2919, allocations: 33.23 kB / 0.5344 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.2921, allocations: 105.2 kB / 0.5345 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2921, allocations: 1.375 kB / 0.5345 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2921, allocations: 3.938 kB / 0.5345 GB, free: 11.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.2921, allocations: 0 / 0.5345 GB, free: 11.49 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.0005118/0.2926, allocations: 419.5 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2927, allocations: 9.625 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.2927, allocations: 14.34 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.2929, allocations: 211.8 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.2929, allocations: 1.75 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.2929, allocations: 7.125 kB / 0.5351 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.2931, allocations: 50.19 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.2931, allocations: 5.359 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2931, allocations: 4 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.2931, allocations: 5.312 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.803e-05/0.2932, allocations: 31.03 kB / 0.5352 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.2936, allocations: 294.9 kB / 0.5355 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.2937, allocations: 41.69 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.919e-05/0.2937, allocations: 15.81 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.2938, allocations: 1.375 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.2938, allocations: 34.5 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.2938, allocations: 1.375 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000837/0.2946, allocations: 225.6 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.2947, allocations: 52.44 kB / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.2949, allocations: 218 kB / 0.5361 GB, free: 10 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.2949, allocations: 31.14 kB / 0.5361 GB, free: 9.965 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.295, allocations: 109.9 kB / 0.5362 GB, free: 9.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.295, allocations: 27.09 kB / 0.5362 GB, free: 9.836 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.2951, allocations: 22.98 kB / 0.5363 GB, free: 9.812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2952, allocations: 326.4 kB / 0.5366 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.934e-05/0.2953, allocations: 22.77 kB / 0.5366 GB, free: 9.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.034e-05/0.2954, allocations: 21.39 kB / 0.5366 GB, free: 9.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.2955, allocations: 68.36 kB / 0.5367 GB, free: 9.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.2955, allocations: 3.938 kB / 0.5367 GB, free: 9.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002158/0.2957, allocations: 99.95 kB / 0.5368 GB, free: 9.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2958, allocations: 5.656 kB / 0.5368 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.2958, allocations: 0 / 0.5368 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2958, allocations: 1.094 kB / 0.5368 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.463e-05/0.2959, allocations: 17.8 kB / 0.5368 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2959, allocations: 1.125 kB / 0.5368 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.2959, allocations: 14.34 kB / 0.5368 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.2959, allocations: 2.219 kB / 0.5368 GB, free: 9.352 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.0001095/0.296, allocations: 128 kB / 0.5369 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.2961, allocations: 14.28 kB / 0.537 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.2964, allocations: 119.9 kB / 0.5371 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2964, allocations: 8.938 kB / 0.5371 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2964, allocations: 4 kB / 0.5371 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2964, allocations: 5.156 kB / 0.5371 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.2969, allocations: 405.9 kB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2969, allocations: 1.062 kB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.479e-05/0.297, allocations: 18.05 kB / 0.5375 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.297, allocations: 5.188 kB / 0.5375 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.297, allocations: 5.188 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.297, allocations: 9.188 kB / 0.5375 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.297, allocations: 0 / 0.5375 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.2973, allocations: 197.1 kB / 0.5377 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.2973, allocations: 91.98 kB / 0.5378 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.2973, allocations: 4.828 kB / 0.5378 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.801e-05/0.2974, allocations: 7.156 kB / 0.5378 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.2975, allocations: 11.81 kB / 0.5378 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.2975, allocations: 3.531 kB / 0.5378 GB, free: 8.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.2976, allocations: 166.4 kB / 0.538 GB, free: 8.305 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2976, allocations: 1.094 kB / 0.538 GB, free: 8.305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.2979, allocations: 18.66 kB / 0.538 GB, free: 8.301 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.00167/0.2995, allocations: 466.4 kB / 0.5384 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.2997, allocations: 60.8 kB / 0.5385 GB, free: 8.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2997, allocations: 1.281 kB / 0.5385 GB, free: 8.031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.019e-05/0.2998, allocations: 31.7 kB / 0.5385 GB, free: 8.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.3002, allocations: 28 kB / 0.5386 GB, free: 8.004 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005787/0.3008, allocations: 258.2 kB / 0.5388 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.3012, allocations: 0.7145 MB / 0.5395 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.819e-05/0.3012, allocations: 11.98 kB / 0.5395 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.3012, allocations: 18.02 kB / 0.5395 GB, free: 7.074 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.3012, allocations: 0 / 0.5395 GB, free: 7.074 MB / 398.1 MB Notification: Performance of Templates: time 0.004357/0.3056, allocations: 1.368 MB / 0.5409 GB, free: 6.375 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches