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.001752/0.001752, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.002187/0.002187, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.541/1.541, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.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 1.493e-06/1.493e-06, allocations: 0 / 325 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.433e-05, allocations: 2.281 kB / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002189/0.002213, allocations: 1.192 MB / 326.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003565/0.005778, allocations: 2.11 MB / 328.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.005808, allocations: 1.188 kB / 328.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.005828, allocations: 4.734 kB / 328.3 MB, free: 14.27 MB / 302.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.001674/0.007501, allocations: 475.9 kB / 328.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.611e-05/0.007527, allocations: 1.766 kB / 328.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.096e-05/0.007578, allocations: 9.734 kB / 328.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.007622, allocations: 3.016 kB / 328.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.899e-05/0.007661, allocations: 12.88 kB / 328.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00696/0.01462, allocations: 3.75 kB / 328.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.01464, allocations: 1.531 kB / 328.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.01573, allocations: 497 kB / 329.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.01574, allocations: 1.734 kB / 329.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.01577, allocations: 10.84 kB / 329.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007625/0.01653, allocations: 464.9 kB / 329.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.01654, allocations: 0 / 329.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.01654, allocations: 0 / 329.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.01654, allocations: 0 / 329.7 MB, free: 13.73 MB / 302.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.0005227/0.01706, allocations: 346.5 kB / 330.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.01711, allocations: 13.45 kB / 330.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.649e-05/0.01718, allocations: 85.78 kB / 330.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.01735, allocations: 187.6 kB / 330.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/0.01742, allocations: 156.1 kB / 330.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.569e-05/0.01748, allocations: 151.7 kB / 330.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.726e-05/0.01756, allocations: 107.6 kB / 330.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/0.01759, allocations: 75.47 kB / 330.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.719e-05/0.01766, allocations: 152.5 kB / 331 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-05/0.01773, allocations: 155.6 kB / 331.1 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.219e-05/0.01781, allocations: 156.4 kB / 331.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.01811, allocations: 402 kB / 331.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.01821, allocations: 167.8 kB / 331.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.805e-05/0.01826, allocations: 81.33 kB / 331.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.0183, allocations: 75.28 kB / 332 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.01847, allocations: 51.38 kB / 332 MB, free: 11.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=1): time 1.964e-06/0.01847, allocations: 4 kB / 332 MB, free: 11.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001238/0.0186, allocations: 33.58 kB / 332.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.01864, allocations: 55.34 kB / 332.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.769e-05/0.01874, allocations: 103.5 kB / 332.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.01876, allocations: 25.7 kB / 332.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.0188, allocations: 82.28 kB / 332.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.121e-05/0.01881, allocations: 0 / 332.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.01884, allocations: 12.88 kB / 332.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.01898, allocations: 316.7 kB / 332.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.215e-06/0.01899, allocations: 5.188 kB / 332.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-06/0.019, allocations: 13.56 kB / 332.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.188e-05/0.01902, allocations: 7.953 kB / 332.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.01902, allocations: 0 / 332.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.827e-05/0.01908, allocations: 36.25 kB / 332.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.0191, allocations: 6.703 kB / 332.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.0191, allocations: 0 / 332.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.01911, allocations: 1.094 kB / 332.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.064e-05/0.01913, allocations: 3.938 kB / 332.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01914, allocations: 5.016 kB / 332.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/0.01915, allocations: 5.172 kB / 332.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.01916, allocations: 1.188 kB / 332.7 MB, free: 10.66 MB / 302.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 8.318e-05/0.01924, allocations: 110.9 kB / 332.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.01925, allocations: 3.078 kB / 332.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.01928, allocations: 12.64 kB / 332.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01928, allocations: 1.188 kB / 332.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.01929, allocations: 4.594 kB / 332.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.01929, allocations: 0 / 332.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.01939, allocations: 98.36 kB / 333 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.0194, allocations: 0.7969 kB / 333 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-06/0.0194, allocations: 5.25 kB / 333 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.0194, allocations: 0 / 333 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.01941, allocations: 0.9844 kB / 333 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.01941, allocations: 1.469 kB / 333 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01941, allocations: 0 / 333 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.925e-05/0.0195, allocations: 61.97 kB / 333 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.0195, allocations: 1.984 kB / 333 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.01952, allocations: 2.281 kB / 333 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.258e-05/0.01953, allocations: 0 / 333 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.01955, allocations: 9.781 kB / 333.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.01955, allocations: 4.031 kB / 333.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.953e-05/0.01961, allocations: 90.66 kB / 333.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01961, allocations: 0 / 333.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004845/0.02009, allocations: 149.2 kB / 333.3 MB, free: 10.2 MB / 302.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.001299/0.02139, allocations: 0.539 MB / 333.8 MB, free: 9.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.314e-05/0.02146, allocations: 3.281 kB / 333.8 MB, free: 9.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02147, allocations: 1.188 kB / 333.8 MB, free: 9.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.072e-06/0.02147, allocations: 2.312 kB / 333.8 MB, free: 9.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.02161, allocations: 1.125 kB / 333.8 MB, free: 9.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002773/0.02189, allocations: 107.1 kB / 333.9 MB, free: 9.812 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.421e-05/0.02194, allocations: 59.75 kB / 334 MB, free: 9.738 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.561e-05/0.02198, allocations: 13.77 kB / 334 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.022, allocations: 16.33 kB / 334 MB, free: 9.719 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.022, allocations: 0 / 334 MB, free: 9.719 MB / 302.1 MB Notification: Performance of Templates: time 0.007554/0.02955, allocations: 3.175 MB / 337.2 MB, free: 8.062 MB / 302.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.620275262743235]