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.001/0.001, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001101/0.001101, allocations: 160.2 kB / 24.91 MB, free: 8.766 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.9698/0.9698, allocations: 177 MB / 205.2 MB, free: 5.047 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.453e-06/1.453e-06, allocations: 0 / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.492e-05, allocations: 2.312 kB / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.001606/0.001621, allocations: 1.396 MB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005459/0.002167, allocations: 358.7 kB / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.002197, allocations: 3.938 kB / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.00222, allocations: 0 / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.186e-05/0.002272, allocations: 0 / 275.1 MB, free: 15.31 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.0004228/0.002695, allocations: 103.5 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.279e-05/0.002748, allocations: 19.92 kB / 275.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.786e-05/0.002776, allocations: 0 / 275.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.367e-05/0.002809, allocations: 11.98 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.983e-05/0.002829, allocations: 11.98 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.002839, allocations: 0 / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.003012, allocations: 119.7 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.003024, allocations: 3.984 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.003041, allocations: 11.94 kB / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.00317, allocations: 87.7 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.003172, allocations: 0 / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003172, allocations: 0 / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.003176, allocations: 4 kB / 275.5 MB, free: 14.94 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.0002355/0.003411, allocations: 244.8 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.003439, allocations: 15.98 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.013e-05/0.003459, allocations: 4.938 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.107e-05/0.00353, allocations: 113.7 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.00354, allocations: 4.375 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.003548, allocations: 384 / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.781e-05/0.003596, allocations: 30.27 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/0.003601, allocations: 192 / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-06/0.003606, allocations: 4.312 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.00361, allocations: 384 / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.077e-05/0.003621, allocations: 11.92 kB / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.003783, allocations: 148.3 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.763e-05/0.00382, allocations: 26.56 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.216e-05/0.003832, allocations: 8.922 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.003838, allocations: 0 / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.647e-05/0.003904, allocations: 51.34 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.003905, allocations: 0 / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 8.353e-05/0.003989, allocations: 37.69 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.004022, allocations: 59.34 kB / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.929e-05/0.004081, allocations: 114.6 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.004091, allocations: 33.7 kB / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.476e-05/0.004115, allocations: 84.14 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.00413, allocations: 11.88 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.004152, allocations: 17.7 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.004231, allocations: 322.8 kB / 276.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.004249, allocations: 16.7 kB / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.662e-05/0.004266, allocations: 17.7 kB / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.592e-05/0.004292, allocations: 21.89 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.004293, allocations: 0 / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.695e-05/0.00434, allocations: 49.61 kB / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.004352, allocations: 12.03 kB / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.004356, allocations: 0 / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.004368, allocations: 0 / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.609e-05/0.004404, allocations: 7.938 kB / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.004408, allocations: 4 kB / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.099e-05/0.004419, allocations: 0 / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.004424, allocations: 0 / 276.9 MB, free: 13.32 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 5.263e-05/0.004477, allocations: 121.8 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-06/0.004482, allocations: 0 / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.84e-05/0.0045, allocations: 8 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.004501, allocations: 4 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.004504, allocations: 3.938 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.004507, allocations: 0 / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.004617, allocations: 190.8 kB / 277.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.004617, allocations: 0 / 277.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-06/0.004623, allocations: 4 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.41e-07/0.004624, allocations: 0 / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-06/0.004627, allocations: 0 / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.004628, allocations: 4.312 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.004629, allocations: 0 / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.288e-05/0.004682, allocations: 139.4 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-06/0.004686, allocations: 8 kB / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-06/0.004693, allocations: 0 / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.246e-05/0.004716, allocations: 11.92 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.00473, allocations: 0 / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.004736, allocations: 0 / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.174e-05/0.004748, allocations: 12.86 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004748, allocations: 0 / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000201/0.004949, allocations: 27.92 kB / 277.5 MB, free: 12.75 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.0003499/0.005299, allocations: 195.8 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.749e-05/0.005366, allocations: 20.78 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.005368, allocations: 0 / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.564e-05/0.005384, allocations: 8.859 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.422e-05/0.005468, allocations: 4 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001737/0.005641, allocations: 116.6 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.697e-05/0.005668, allocations: 55.34 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.982e-05/0.005688, allocations: 8 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.005713, allocations: 55.3 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.005714, allocations: 0 / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of Templates: time 0.002276/0.00799, allocations: 1.122 MB / 279 MB, free: 11.14 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.853721140883863]