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.0007976/0.0007976, allocations: 81.91 kB / 21.43 MB, free: 3.07 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.0009586/0.0009586, allocations: 162.3 kB / 24.82 MB, free: 9.258 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 1.007/1.007, allocations: 177 MB / 205.1 MB, free: 5.488 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 8.72e-07/8.72e-07, allocations: 0 / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.037e-06/9.909e-06, allocations: 6.312 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002065/0.002075, allocations: 1.393 MB / 274.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005639/0.002639, allocations: 354.7 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.002669, allocations: 0 / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.002691, allocations: 0 / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.965e-05/0.00274, allocations: 7.938 kB / 275.1 MB, free: 15.47 MB / 266.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.0003999/0.00314, allocations: 91.58 kB / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.228e-05/0.003192, allocations: 15.92 kB / 275.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.794e-05/0.00322, allocations: 7.984 kB / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.423e-05/0.003255, allocations: 15.92 kB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.463e-05/0.003269, allocations: 0 / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.003282, allocations: 4 kB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.003478, allocations: 115.7 kB / 275.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.003491, allocations: 12 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.523e-05/0.003506, allocations: 3.938 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.003657, allocations: 99.67 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.162e-06/0.003658, allocations: 0 / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 4e-07/0.003658, allocations: 0 / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.675e-06/0.003661, allocations: 0 / 275.4 MB, free: 15.11 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.0002766/0.003937, allocations: 372.5 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.003972, allocations: 11.98 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.003997, allocations: 4.938 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.666e-05/0.004064, allocations: 112.5 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.004078, allocations: 4.359 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.004084, allocations: 12.31 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.291e-05/0.004137, allocations: 30.27 kB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.004143, allocations: 192 / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.00415, allocations: 4.375 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.004154, allocations: 384 / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.247e-05/0.004167, allocations: 11.92 kB / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.004366, allocations: 224.5 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.261e-05/0.004409, allocations: 31 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.004425, allocations: 15.75 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-06/0.00443, allocations: 4 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.595e-05/0.004496, allocations: 57.05 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.853e-06/0.004498, allocations: 3.984 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001183/0.004616, allocations: 53.56 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.004643, allocations: 55.41 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.782e-05/0.004711, allocations: 161.9 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.00472, allocations: 25.7 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.00476, allocations: 138.8 kB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/0.004772, allocations: 3.953 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.004803, allocations: 23.38 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.004928, allocations: 0.4962 MB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.004945, allocations: 12.7 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.115e-05/0.004966, allocations: 27.36 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.826e-05/0.005004, allocations: 31.31 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005006, allocations: 384 / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.909e-05/0.005075, allocations: 53.64 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.005086, allocations: 6.656 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.00509, allocations: 0 / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.005103, allocations: 3.938 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.311e-05/0.005146, allocations: 19.97 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.005151, allocations: 3.984 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.408e-05/0.005165, allocations: 0 / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.005172, allocations: 4 kB / 277.4 MB, free: 12.91 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.seed,globalSeed.id_impure,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 6.666e-05/0.005238, allocations: 156.5 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.005248, allocations: 4 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.005269, allocations: 8 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.005272, allocations: 3.938 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.005273, allocations: 0 / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.005276, allocations: 0 / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.005442, allocations: 278 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.005443, allocations: 4 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-06/0.00545, allocations: 0 / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.005451, allocations: 0 / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-06/0.005454, allocations: 0 / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.005456, allocations: 3.938 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005457, allocations: 4 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.891e-05/0.005546, allocations: 191.9 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.005552, allocations: 4 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-06/0.00556, allocations: 0 / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.811e-05/0.005598, allocations: 7.875 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.00561, allocations: 4 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.005616, allocations: 4 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.931e-05/0.005656, allocations: 131.2 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005656, allocations: 0 / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002439/0.0059, allocations: 23.94 kB / 278.2 MB, free: 12.03 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.0003292/0.006229, allocations: 198.2 kB / 278.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.544e-05/0.006304, allocations: 19.67 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.91e-07/0.006305, allocations: 0 / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/0.006324, allocations: 15.67 kB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.006504, allocations: 10.81 kB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001854/0.00669, allocations: 118.2 kB / 278.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.22e-05/0.006722, allocations: 51.36 kB / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.383e-05/0.006746, allocations: 12.05 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.006777, allocations: 70.2 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.006777, allocations: 0 / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of Templates: time 0.002716/0.009493, allocations: 1.125 MB / 279.9 MB, free: 10.38 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6348668201826513]