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.001623/0.001623, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001762/0.001762, allocations: 213 kB / 23.73 MB, free: 4.164 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.436/1.436, allocations: 230.5 MB / 257.4 MB, free: 7.824 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.001857/0.001857, allocations: 67.89 kB / 378.2 MB, free: 2.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2242, allocations: 53.41 MB / 431.6 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002171/0.2264, allocations: 1.2 MB / 432.8 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.2295, allocations: 2.09 MB / 434.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.765e-05/0.2295, allocations: 0 / 434.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.2295, allocations: 7.938 kB / 434.9 MB, free: 3.238 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.001102/0.2306, allocations: 470 kB / 435.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.177e-05/0.2306, allocations: 3.984 kB / 435.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4e-05/0.2307, allocations: 11.94 kB / 435.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.2307, allocations: 7.984 kB / 435.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.86e-05/0.2307, allocations: 4 kB / 435.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.474e-05/0.2308, allocations: 11.88 kB / 435.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.318e-06/0.2308, allocations: 0 / 435.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007304/0.2315, allocations: 495.5 kB / 435.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.2315, allocations: 0 / 435.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.2316, allocations: 7.984 kB / 435.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005117/0.2321, allocations: 377.3 kB / 436.3 MB, free: 1.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2321, allocations: 4 kB / 436.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2321, allocations: 0 / 436.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.2321, allocations: 0 / 436.3 MB, free: 1.883 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.0004319/0.2325, allocations: 341.4 kB / 436.6 MB, free: 1.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.2325, allocations: 11.98 kB / 436.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.2326, allocations: 84.17 kB / 436.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.2328, allocations: 189.8 kB / 436.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.603e-05/0.2328, allocations: 154.9 kB / 437 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.808e-05/0.2329, allocations: 158.9 kB / 437.2 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.909e-05/0.233, allocations: 105.3 kB / 437.3 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.233, allocations: 75.28 kB / 437.4 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.376e-05/0.233, allocations: 154.6 kB / 437.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-05/0.2331, allocations: 150.6 kB / 437.7 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.978e-05/0.2332, allocations: 150.6 kB / 437.8 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.2334, allocations: 401.5 kB / 438.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.161e-05/0.2335, allocations: 169.1 kB / 438.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.2336, allocations: 80.14 kB / 438.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.2336, allocations: 79.28 kB / 438.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.2337, allocations: 47.41 kB / 438.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.275e-06/0.2337, allocations: 0 / 438.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.000122/0.2338, allocations: 49.5 kB / 438.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.2339, allocations: 51.41 kB / 438.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.938e-05/0.234, allocations: 101.8 kB / 438.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.234, allocations: 25.7 kB / 438.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.234, allocations: 84.14 kB / 438.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.062e-05/0.234, allocations: 3.953 kB / 438.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.234, allocations: 21.83 kB / 438.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.2342, allocations: 314.8 kB / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-06/0.2342, allocations: 0 / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-06/0.2342, allocations: 4 kB / 439.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.261e-05/0.2342, allocations: 12.8 kB / 439.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2342, allocations: 0 / 439.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.37e-05/0.2343, allocations: 33.7 kB / 439.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2343, allocations: 15.92 kB / 439.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.2343, allocations: 0 / 439.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2343, allocations: 4.094 kB / 439.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.652e-05/0.2343, allocations: 0 / 439.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.2343, allocations: 0 / 439.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.424e-05/0.2343, allocations: 0 / 439.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.2343, allocations: 0 / 439.3 MB, free: 14.69 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 7.229e-05/0.2344, allocations: 109.8 kB / 439.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.2344, allocations: 3.938 kB / 439.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.997e-05/0.2344, allocations: 7.109 kB / 439.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2344, allocations: 4 kB / 439.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2344, allocations: 3.984 kB / 439.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.2344, allocations: 4 kB / 439.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.545e-05/0.2345, allocations: 101.3 kB / 439.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2345, allocations: 0 / 439.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-06/0.2345, allocations: 3.938 kB / 439.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.2345, allocations: 0 / 439.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.2345, allocations: 3.938 kB / 439.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2346, allocations: 3.984 kB / 439.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2346, allocations: 0 / 439.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.648e-05/0.2346, allocations: 57.12 kB / 439.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-06/0.2346, allocations: 4 kB / 439.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.2346, allocations: 7.938 kB / 439.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.162e-05/0.2347, allocations: 7.969 kB / 439.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-06/0.2347, allocations: 0 / 439.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.2347, allocations: 3.984 kB / 439.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.809e-05/0.2347, allocations: 83.45 kB / 439.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2347, allocations: 0 / 439.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003898/0.2351, allocations: 147.5 kB / 439.8 MB, free: 14.08 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.00107/0.2362, allocations: 0.5046 MB / 440.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.175e-05/0.2362, allocations: 7.938 kB / 440.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2362, allocations: 0 / 440.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.809e-06/0.2362, allocations: 0 / 440.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.2364, allocations: 10.66 kB / 440.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002178/0.2366, allocations: 98.92 kB / 440.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.841e-05/0.2366, allocations: 67.47 kB / 440.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.015e-05/0.2367, allocations: 11.92 kB / 440.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.2367, allocations: 11.44 kB / 440.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2367, allocations: 0 / 440.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of Templates: time 0.006487/0.2432, allocations: 3.136 MB / 443.7 MB, free: 10.24 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.204953456297517]