Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.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.001941/0.001941, allocations: 99.53 kB / 20.96 MB, free: 3.457 MB / 18.57 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.002101/0.002101, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 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.591/1.591, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 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.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.308e-05/3.452e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002773/0.002807, allocations: 1.371 MB / 273.6 MB, free: 428 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008717/0.003679, allocations: 346.8 kB / 273.9 MB, free: 80 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.003706, allocations: 0 / 273.9 MB, free: 80 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.003727, allocations: 0 / 273.9 MB, free: 80 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.492e-05/0.003792, allocations: 7.875 kB / 273.9 MB, free: 72 kB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0005722/0.004364, allocations: 95.56 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.304e-05/0.004437, allocations: 15.94 kB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.004472, allocations: 3.984 kB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.935e-05/0.004511, allocations: 11.98 kB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.111e-05/0.004532, allocations: 4 kB / 274 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.004546, allocations: 0 / 274 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.004838, allocations: 123.7 kB / 274.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.004853, allocations: 7.938 kB / 274.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.004877, allocations: 0 / 274.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.005105, allocations: 107.6 kB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.00511, allocations: 0 / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.005113, allocations: 7.984 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.005118, allocations: 0 / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005243/0.005642, allocations: 364.2 kB / 274.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.00569, allocations: 15.98 kB / 274.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.005742, allocations: 0.9375 kB / 274.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.005894, allocations: 112.6 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.005913, allocations: 8.312 kB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.005923, allocations: 4.375 kB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.006034, allocations: 38.25 kB / 274.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.006042, allocations: 192 / 274.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.006052, allocations: 4.375 kB / 274.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.006058, allocations: 384 / 274.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.437e-05/0.006083, allocations: 3.938 kB / 274.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.00649, allocations: 255.8 kB / 275.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.157e-05/0.006572, allocations: 34.94 kB / 275.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.541e-05/0.006607, allocations: 15.75 kB / 275.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.006622, allocations: 8 kB / 275.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.006755, allocations: 57.05 kB / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.006757, allocations: 0 / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002285/0.006985, allocations: 61.56 kB / 275.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.007042, allocations: 55.41 kB / 275.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.007192, allocations: 169.9 kB / 275.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.007215, allocations: 25.7 kB / 275.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.007322, allocations: 126.9 kB / 275.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.007347, allocations: 11.95 kB / 275.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/0.007401, allocations: 27.36 kB / 275.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003399/0.007741, allocations: 496.1 kB / 276.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.192e-05/0.007773, allocations: 12 kB / 276.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.038e-05/0.007823, allocations: 23.36 kB / 276.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.645e-05/0.0079, allocations: 39.31 kB / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.007902, allocations: 0 / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001146/0.008017, allocations: 53.64 kB / 276.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.008036, allocations: 8 kB / 276.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.008045, allocations: 3.938 kB / 276.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.008066, allocations: 0 / 276.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.565e-05/0.008151, allocations: 23.95 kB / 276.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.008157, allocations: 0 / 276.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.008174, allocations: 0 / 276.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.008189, allocations: 4 kB / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,globalSeed.id_impure,globalSeed.seed,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001506/0.00834, allocations: 156.5 kB / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.008356, allocations: 8.234 kB / 276.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.001e-05/0.008406, allocations: 11.92 kB / 276.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.008408, allocations: 0 / 276.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.008413, allocations: 0 / 276.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.008418, allocations: 7.938 kB / 276.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/0.008794, allocations: 293.4 kB / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.008795, allocations: 4.375 kB / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.225e-05/0.008808, allocations: 0 / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.008813, allocations: 3.938 kB / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.008828, allocations: 7.984 kB / 276.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.008832, allocations: 4 kB / 276.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008834, allocations: 0 / 276.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.009064, allocations: 199.9 kB / 277 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.009074, allocations: 3.938 kB / 277 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.009091, allocations: 4 kB / 277 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.163e-05/0.009133, allocations: 0 / 277 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.009172, allocations: 3.984 kB / 277 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.009187, allocations: 4 kB / 277 MB, free: 12.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.449e-05/0.009272, allocations: 135.1 kB / 277.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009272, allocations: 0 / 277.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002968/0.009569, allocations: 27.92 kB / 277.2 MB, free: 12.52 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007294/0.0103, allocations: 187.3 kB / 277.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.01045, allocations: 27.69 kB / 277.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01045, allocations: 0 / 277.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.753e-05/0.0105, allocations: 23.61 kB / 277.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.01072, allocations: 4 kB / 277.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.0111, allocations: 118.2 kB / 277.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.024e-05/0.01118, allocations: 63.34 kB / 277.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.492e-05/0.01122, allocations: 8.062 kB / 277.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.01125, allocations: 12.48 kB / 277.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01125, allocations: 3.938 kB / 277.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of Templates: time 0.005198/0.01645, allocations: 0.9792 MB / 278.6 MB, free: 11.07 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.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.602241122047417]