Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001238/0.001238, allocations: 117.7 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.001156/0.001156, allocations: 208.8 kB / 19.41 MB, free: 3.652 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.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1998/0.1998, allocations: 46.11 MB / 345 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 84.03 kB / 482 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2943, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002873/0.2972, allocations: 1.692 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.2983, allocations: 0.5719 MB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.2983, allocations: 1.531 kB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.2986, allocations: 53.64 kB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.2989, allocations: 87.78 kB / 0.534 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.2993, allocations: 185.2 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.2995, allocations: 88.72 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2996, allocations: 24.19 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.559e-05/0.2996, allocations: 37.59 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.2998, allocations: 47.02 kB / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.2998, allocations: 4.125 kB / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.2999, allocations: 48.98 kB / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.3, allocations: 25.53 kB / 0.5345 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.3, allocations: 33.23 kB / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.3002, allocations: 114.2 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3002, allocations: 0 / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3002, allocations: 1.375 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.3002, allocations: 4 kB / 0.5346 GB, free: 11.39 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.0004972/0.3007, allocations: 418.8 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.3008, allocations: 9.625 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.3008, allocations: 8.969 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.301, allocations: 200.5 kB / 0.5352 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.301, allocations: 1.75 kB / 0.5352 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.301, allocations: 3.125 kB / 0.5352 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.3012, allocations: 72.98 kB / 0.5353 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3012, allocations: 5.375 kB / 0.5353 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3013, allocations: 0 / 0.5353 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.3013, allocations: 9.344 kB / 0.5353 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.3014, allocations: 44.66 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.3019, allocations: 319.1 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.3021, allocations: 60.67 kB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.657e-05/0.3022, allocations: 25.34 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.3022, allocations: 5.062 kB / 0.5357 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.3023, allocations: 35.95 kB / 0.5358 GB, free: 10.22 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.3023, allocations: 0 / 0.5358 GB, free: 10.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001491/0.3038, allocations: 420.8 kB / 0.5362 GB, free: 10.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.3038, allocations: 57.88 kB / 0.5362 GB, free: 9.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.304, allocations: 187 kB / 0.5364 GB, free: 9.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.304, allocations: 25.7 kB / 0.5364 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.3041, allocations: 100.7 kB / 0.5365 GB, free: 9.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.3041, allocations: 35.89 kB / 0.5366 GB, free: 9.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.3042, allocations: 34.48 kB / 0.5366 GB, free: 9.609 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3043, allocations: 322.2 kB / 0.5369 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.3044, allocations: 52.86 kB / 0.537 GB, free: 9.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.3046, allocations: 53.53 kB / 0.537 GB, free: 9.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.3049, allocations: 123.2 kB / 0.5371 GB, free: 9.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3049, allocations: 1.781 kB / 0.5371 GB, free: 9.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003325/0.3052, allocations: 166.7 kB / 0.5373 GB, free: 9.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3052, allocations: 5.5 kB / 0.5373 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3052, allocations: 0 / 0.5373 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3053, allocations: 1.125 kB / 0.5373 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3054, allocations: 36.09 kB / 0.5373 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3054, allocations: 5 kB / 0.5373 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.404e-05/0.3055, allocations: 9.594 kB / 0.5373 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3055, allocations: 8.047 kB / 0.5374 GB, free: 9.055 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 9.686e-05/0.3056, allocations: 123.1 kB / 0.5375 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.3056, allocations: 13.84 kB / 0.5375 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004295/0.3061, allocations: 201.1 kB / 0.5377 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.3061, allocations: 5.312 kB / 0.5377 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3061, allocations: 1.75 kB / 0.5377 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3061, allocations: 0 / 0.5377 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006871/0.3068, allocations: 495.8 kB / 0.5382 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3068, allocations: 5.5 kB / 0.5382 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.3069, allocations: 31.81 kB / 0.5382 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3069, allocations: 1.281 kB / 0.5382 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.307, allocations: 10.41 kB / 0.5382 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.307, allocations: 1.469 kB / 0.5382 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.307, allocations: 1.344 kB / 0.5382 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/0.3074, allocations: 276 kB / 0.5385 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.3074, allocations: 84.36 kB / 0.5385 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.3075, allocations: 1.125 kB / 0.5385 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3076, allocations: 22.33 kB / 0.5386 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.3076, allocations: 8.609 kB / 0.5386 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.3076, allocations: 7.812 kB / 0.5386 GB, free: 7.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.817e-05/0.3077, allocations: 134.3 kB / 0.5387 GB, free: 7.898 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3078, allocations: 0 / 0.5387 GB, free: 7.898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.308, allocations: 30.36 kB / 0.5387 GB, free: 7.887 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.001037/0.3091, allocations: 460.9 kB / 0.5392 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003578/0.3095, allocations: 137.5 kB / 0.5393 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3095, allocations: 0 / 0.5393 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.3096, allocations: 66.77 kB / 0.5394 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.31, allocations: 29.2 kB / 0.5394 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00059/0.3106, allocations: 317.8 kB / 0.5397 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.3109, allocations: 0.7139 MB / 0.5404 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.3109, allocations: 23.45 kB / 0.5404 GB, free: 6.562 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3109, allocations: 1.281 kB / 0.5404 GB, free: 6.562 MB / 398.1 MB Notification: Performance of Templates: time 0.003776/0.3147, allocations: 2.043 MB / 0.5424 GB, free: 5.508 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches