Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001819/0.001819, allocations: 109.4 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00244/0.002441, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.741/2.741, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4749/0.4749, allocations: 46.1 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002744, allocations: 82.8 kB / 417.7 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.197, allocations: 62.45 MB / 480.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.002473/0.1995, allocations: 0.536 MB / 480.7 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005223/0.2047, allocations: 2.124 MB / 482.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.682e-05/0.2048, allocations: 0 / 482.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.2049, allocations: 0 / 482.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.93e-05/0.2049, allocations: 0 / 482.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.2069, allocations: 355.2 kB / 483.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.709e-05/0.2069, allocations: 4 kB / 483.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.659e-05/0.207, allocations: 3.938 kB / 483.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.51e-05/0.207, allocations: 4 kB / 483.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.09666/0.3037, allocations: 3.372 MB / 486.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.3038, allocations: 0 / 486.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.3039, allocations: 8 kB / 486.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.3039, allocations: 4 kB / 486.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.304, allocations: 0 / 486.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.264e-05/0.3041, allocations: 4 kB / 486.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3041, allocations: 4 kB / 486.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.3041, allocations: 0 / 486.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3041, allocations: 0 / 486.6 MB, free: 15.84 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004209/0.3045, allocations: 323.5 kB / 486.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.3046, allocations: 12.03 kB / 486.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003337/0.305, allocations: 84.2 kB / 487 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.3052, allocations: 239.7 kB / 487.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-05/0.3053, allocations: 154.9 kB / 487.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.448e-05/0.3054, allocations: 162.6 kB / 487.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.596e-05/0.3055, allocations: 105 kB / 487.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.049e-05/0.3055, allocations: 75.28 kB / 487.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.201e-05/0.3056, allocations: 150.6 kB / 487.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-05/0.3057, allocations: 154.6 kB / 488 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.587e-05/0.3058, allocations: 154.6 kB / 488.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.3063, allocations: 441.9 kB / 488.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.3064, allocations: 173.1 kB / 488.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.983e-05/0.3065, allocations: 88.08 kB / 488.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.707e-05/0.3066, allocations: 83.22 kB / 488.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.853e-05/0.3067, allocations: 105.8 kB / 489 MB, free: 13.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.3067, allocations: 0 / 489 MB, free: 13.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001091/0.3068, allocations: 33.64 kB / 489 MB, free: 13.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.3069, allocations: 178.1 kB / 489.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.3071, allocations: 97.84 kB / 489.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.3071, allocations: 25.7 kB / 489.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.3072, allocations: 88.14 kB / 489.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.3072, allocations: 0 / 489.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.3073, allocations: 9.719 kB / 489.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3075, allocations: 310.8 kB / 489.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-06/0.3075, allocations: 0 / 489.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.057e-05/0.3075, allocations: 13.72 kB / 489.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.813e-05/0.3076, allocations: 79.44 kB / 489.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.351e-05/0.3076, allocations: 75.28 kB / 489.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001044/0.3078, allocations: 37.62 kB / 489.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.505e-05/0.3078, allocations: 83.27 kB / 490 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.197e-05/0.3079, allocations: 83.22 kB / 490.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.088e-05/0.308, allocations: 158.6 kB / 490.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.845e-05/0.3081, allocations: 79.22 kB / 490.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.952e-05/0.3082, allocations: 154.6 kB / 490.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.3083, allocations: 83.22 kB / 490.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/0.3084, allocations: 75.28 kB / 490.6 MB, free: 11.5 MB / 366.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 (0): * Single equations (assignments): 0 * 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.0001786/0.3086, allocations: 260.4 kB / 490.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.3087, allocations: 112.9 kB / 491 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.119e-05/0.3088, allocations: 112 kB / 491.1 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-05/0.3089, allocations: 176.3 kB / 491.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.823e-05/0.309, allocations: 184.2 kB / 491.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.948e-05/0.3091, allocations: 180.2 kB / 491.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.3095, allocations: 401.2 kB / 492 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-05/0.3095, allocations: 104.9 kB / 492.1 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.968e-05/0.3096, allocations: 113.2 kB / 492.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.038e-05/0.3097, allocations: 180.2 kB / 492.4 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.472e-05/0.3098, allocations: 180.3 kB / 492.6 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.743e-05/0.3099, allocations: 180.3 kB / 492.8 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.072e-05/0.3101, allocations: 188.2 kB / 493 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.3103, allocations: 315.6 kB / 493.3 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.407e-05/0.3104, allocations: 178.1 kB / 493.4 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004145/0.3145, allocations: 184.3 kB / 493.6 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.3147, allocations: 108.9 kB / 493.7 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.3149, allocations: 184.2 kB / 493.9 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.085e-05/0.3149, allocations: 104.9 kB / 494 MB, free: 7.902 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.167e-05/0.315, allocations: 79.28 kB / 494.1 MB, free: 7.824 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.72e-07/0.315, allocations: 0 / 494.1 MB, free: 7.824 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004775/0.3155, allocations: 0 / 494.1 MB, free: 7.824 MB / 366.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 (0): * Single equations (assignments): 0 * 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.0001609/0.3157, allocations: 166.5 kB / 494.2 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.076e-05/0.3158, allocations: 4 kB / 494.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3158, allocations: 4.094 kB / 494.3 MB, free: 7.641 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.813e-06/0.3158, allocations: 4 kB / 494.3 MB, free: 7.637 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005651/0.3164, allocations: 455.6 kB / 494.7 MB, free: 7.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.3167, allocations: 181.8 kB / 494.9 MB, free: 6.977 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.3171, allocations: 0.6729 MB / 495.6 MB, free: 6.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/0.3171, allocations: 7.438 kB / 495.6 MB, free: 6.273 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3172, allocations: 4 kB / 495.6 MB, free: 6.27 MB / 366.1 MB Notification: Performance of Templates: time 0.002537/0.3197, allocations: 367.7 kB / 495.9 MB, free: 5.91 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches