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.0009224/0.0009224, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.004094/0.004094, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 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 0.8851/0.8851, allocations: 177 MB / 204.9 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.193e-06/1.193e-06, allocations: 0 / 325.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.038e-05, allocations: 7.203 kB / 325.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.001588/0.001608, allocations: 1.357 MB / 327.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005268/0.002135, allocations: 350.8 kB / 327.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.002164, allocations: 3.938 kB / 327.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.311e-05/0.002187, allocations: 0 / 327.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.283e-05/0.00224, allocations: 7.922 kB / 327.5 MB, free: 13.5 MB / 298.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.000425/0.002665, allocations: 83.66 kB / 327.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.295e-05/0.002728, allocations: 31.84 kB / 327.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.272e-05/0.002761, allocations: 0 / 327.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.467e-05/0.002796, allocations: 8 kB / 327.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.066e-05/0.002816, allocations: 11.92 kB / 327.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.002828, allocations: 0 / 327.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.002999, allocations: 123.7 kB / 327.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.003013, allocations: 0 / 327.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.04e-05/0.003034, allocations: 4 kB / 327.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.003199, allocations: 103.7 kB / 327.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003201, allocations: 0 / 327.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.003202, allocations: 4 kB / 327.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.003205, allocations: 0 / 327.9 MB, free: 13.14 MB / 298.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.0003006/0.003506, allocations: 274.1 kB / 328.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.00354, allocations: 19.97 kB / 328.1 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.003567, allocations: 0.9375 kB / 328.1 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.202e-05/0.003639, allocations: 105.8 kB / 328.2 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.003649, allocations: 384 / 328.2 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.003657, allocations: 4.312 kB / 328.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.649e-05/0.003733, allocations: 38.25 kB / 328.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.003739, allocations: 4.188 kB / 328.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.003749, allocations: 4.375 kB / 328.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.003754, allocations: 4.375 kB / 328.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.635e-05/0.00377, allocations: 3.938 kB / 328.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.004017, allocations: 196.5 kB / 328.5 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.888e-05/0.004065, allocations: 22.58 kB / 328.5 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.737e-05/0.004083, allocations: 12.91 kB / 328.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.00409, allocations: 0 / 328.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.406e-05/0.004174, allocations: 51.41 kB / 328.6 MB, free: 12.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.004175, allocations: 0 / 328.6 MB, free: 12.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001398/0.004315, allocations: 65.55 kB / 328.6 MB, free: 12.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.004347, allocations: 59.41 kB / 328.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.611e-05/0.004403, allocations: 105.8 kB / 328.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.004412, allocations: 25.7 kB / 328.8 MB, free: 12.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.004444, allocations: 88.08 kB / 328.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.004457, allocations: 7.938 kB / 328.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.004482, allocations: 21.72 kB / 328.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.928e-05/0.004551, allocations: 310.8 kB / 329.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.004568, allocations: 11.98 kB / 329.3 MB, free: 11.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.138e-05/0.004589, allocations: 21.72 kB / 329.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.372e-05/0.004623, allocations: 25.66 kB / 329.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.004625, allocations: 4 kB / 329.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.75e-05/0.004683, allocations: 57.64 kB / 329.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.004695, allocations: 11.94 kB / 329.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.0047, allocations: 3.938 kB / 329.4 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.00471, allocations: 3.984 kB / 329.4 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.885e-05/0.004759, allocations: 8 kB / 329.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.004763, allocations: 0 / 329.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.123e-05/0.004775, allocations: 3.938 kB / 329.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.004781, allocations: 4 kB / 329.4 MB, free: 11.4 MB / 298.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 5.803e-05/0.004839, allocations: 113.9 kB / 329.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-06/0.004844, allocations: 4 kB / 329.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.004864, allocations: 11.92 kB / 329.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.004866, allocations: 0 / 329.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.00487, allocations: 0 / 329.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.004873, allocations: 0 / 329.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.00502, allocations: 238.2 kB / 329.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.005021, allocations: 0 / 329.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.811e-06/0.005027, allocations: 384 / 329.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.00503, allocations: 7.938 kB / 329.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.005035, allocations: 0 / 329.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.005036, allocations: 8 kB / 329.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.005037, allocations: 0 / 329.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.975e-05/0.005107, allocations: 147.5 kB / 329.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-06/0.005113, allocations: 3.938 kB / 329.9 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-06/0.005123, allocations: 7.984 kB / 329.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.385e-05/0.005147, allocations: 0 / 329.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.005165, allocations: 3.938 kB / 329.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.005176, allocations: 4 kB / 329.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.573e-05/0.005212, allocations: 83.28 kB / 330 MB, free: 10.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005212, allocations: 0 / 330 MB, free: 10.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001717/0.005383, allocations: 23.92 kB / 330 MB, free: 10.69 MB / 298.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.0002674/0.005651, allocations: 197.8 kB / 330.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.365e-05/0.005725, allocations: 23.92 kB / 330.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.005726, allocations: 4.062 kB / 330.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.934e-05/0.005745, allocations: 11.94 kB / 330.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.005885, allocations: 4 kB / 330.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002258/0.00611, allocations: 138.5 kB / 330.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.056e-05/0.006151, allocations: 59.34 kB / 330.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.006171, allocations: 12.5 kB / 330.5 MB, free: 10.22 MB / 298.7 MB Notification: Performance of SimCode: time 5.62e-07/0.006172, allocations: 0 / 330.5 MB, free: 10.22 MB / 298.7 MB Notification: Performance of Templates: time 0.001891/0.008063, allocations: 1.183 MB / 331.7 MB, free: 9.035 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 480] 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.777735186740756]