Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001764/0.001764, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002122/0.002122, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.89 kB / 378.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2943, allocations: 53.37 MB / 432.1 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.0025/0.2968, allocations: 1.211 MB / 433.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003806/0.3006, allocations: 2.207 MB / 435.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.46e-05/0.3006, allocations: 0 / 435.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.148e-05/0.3006, allocations: 0 / 435.5 MB, free: 3.676 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Utilities/Examples.mo:279:3-378:24:writable] Warning: Pure function 'Modelica.Utilities.Examples.readRealParameter' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001204/0.3018, allocations: 474 kB / 436 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.745e-05/0.3019, allocations: 11.98 kB / 436 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.859e-05/0.3019, allocations: 7.938 kB / 436 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.302, allocations: 3.984 kB / 436 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.069e-05/0.302, allocations: 4 kB / 436 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.3022, allocations: 15.92 kB / 436 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.3022, allocations: 0 / 436 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008539/0.3031, allocations: 0.5112 MB / 436.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.3031, allocations: 7.922 kB / 436.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.3031, allocations: 4 kB / 436.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006163/0.3038, allocations: 380.8 kB / 436.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3038, allocations: 7.984 kB / 436.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3038, allocations: 0 / 436.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3038, allocations: 0 / 436.9 MB, free: 2.273 MB / 334.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.0005197/0.3043, allocations: 349.4 kB / 437.3 MB, free: 1.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.3043, allocations: 8.031 kB / 437.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.89e-05/0.3044, allocations: 80.17 kB / 437.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.3046, allocations: 185.8 kB / 437.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-05/0.3047, allocations: 150.9 kB / 437.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.458e-05/0.3048, allocations: 158.9 kB / 437.8 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.669e-05/0.3049, allocations: 109.3 kB / 437.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/0.3049, allocations: 79.27 kB / 438 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.411e-05/0.305, allocations: 150.6 kB / 438.2 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-05/0.3051, allocations: 150.6 kB / 438.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.229e-05/0.3051, allocations: 154.6 kB / 438.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.3055, allocations: 417 kB / 438.9 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.3056, allocations: 173.1 kB / 439 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.3057, allocations: 84.08 kB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.301e-05/0.3057, allocations: 83.27 kB / 439.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.3059, allocations: 43.36 kB / 439.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.525e-06/0.3059, allocations: 0 / 439.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001683/0.3061, allocations: 41.62 kB / 439.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.3061, allocations: 55.41 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.3063, allocations: 97.8 kB / 439.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3063, allocations: 29.7 kB / 439.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.3063, allocations: 88.27 kB / 439.5 MB, free: 15.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.3063, allocations: 11.92 kB / 439.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.3064, allocations: 9.719 kB / 439.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3065, allocations: 314.8 kB / 439.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.587e-06/0.3065, allocations: 0 / 439.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-06/0.3066, allocations: 0 / 439.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.336e-05/0.3066, allocations: 16.8 kB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3066, allocations: 4.062 kB / 439.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.088e-05/0.3066, allocations: 37.62 kB / 439.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3067, allocations: 4 kB / 439.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3067, allocations: 4 kB / 439.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3067, allocations: 0 / 439.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.556e-05/0.3067, allocations: 0 / 439.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3067, allocations: 0 / 439.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.649e-05/0.3067, allocations: 0 / 439.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.3067, allocations: 4 kB / 439.9 MB, free: 15.05 MB / 350.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001027/0.3068, allocations: 113.9 kB / 440 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.3069, allocations: 3.938 kB / 440.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.3069, allocations: 11.11 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3069, allocations: 3.984 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.3069, allocations: 192 / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3069, allocations: 4 kB / 440.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.307, allocations: 116.8 kB / 440.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.307, allocations: 0 / 440.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-06/0.307, allocations: 7.922 kB / 440.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.307, allocations: 4 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.307, allocations: 7.938 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.307, allocations: 0 / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.307, allocations: 3.938 kB / 440.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.812e-05/0.3071, allocations: 57.14 kB / 440.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-06/0.3071, allocations: 3.938 kB / 440.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.3072, allocations: 3.984 kB / 440.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.141e-05/0.3072, allocations: 0 / 440.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.3072, allocations: 0 / 440.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.3072, allocations: 4.031 kB / 440.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.47e-05/0.3072, allocations: 87.28 kB / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3072, allocations: 0 / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004973/0.3077, allocations: 147.5 kB / 440.5 MB, free: 14.41 MB / 350.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.001245/0.309, allocations: 490 kB / 441 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.747e-05/0.3091, allocations: 11.94 kB / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3091, allocations: 0 / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.705e-06/0.3091, allocations: 3.984 kB / 441 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.3092, allocations: 6.656 kB / 441 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.3096, allocations: 94.95 kB / 441.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.3099, allocations: 0.6808 MB / 441.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.947e-05/0.31, allocations: 11.92 kB / 441.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.31, allocations: 15.38 kB / 441.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.31, allocations: 4 kB / 441.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of Templates: time 0.007656/0.3177, allocations: 3.14 MB / 445 MB, free: 9.953 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.73297203052789]