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.001481/0.001481, allocations: 88.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.001432/0.001432, allocations: 165.1 kB / 24.91 MB, free: 8.715 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.9649/0.9649, allocations: 177 MB / 205.2 MB, free: 5.062 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.493e-06/1.493e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.737e-05, allocations: 5.266 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002606/0.002633, allocations: 1.436 MB / 274.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006519/0.003285, allocations: 354.7 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.003318, allocations: 4 kB / 275.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.003347, allocations: 7.938 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.32e-05/0.00341, allocations: 3.938 kB / 275.2 MB, free: 15.23 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.0004394/0.003849, allocations: 87.58 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.072e-05/0.00391, allocations: 19.91 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.514e-05/0.003945, allocations: 4 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.142e-05/0.003986, allocations: 8 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.952e-05/0.004006, allocations: 3.984 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.004017, allocations: 4 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.004237, allocations: 123.7 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.00425, allocations: 7.938 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.004266, allocations: 4 kB / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.004428, allocations: 107.6 kB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.004432, allocations: 0 / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.004433, allocations: 0 / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.004438, allocations: 0 / 275.6 MB, free: 14.87 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.0002815/0.00472, allocations: 244.9 kB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.004752, allocations: 11.98 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.004777, allocations: 4.938 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.589e-05/0.004853, allocations: 113.7 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.004865, allocations: 4.375 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-06/0.00487, allocations: 384 / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.352e-05/0.004923, allocations: 34.27 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.004929, allocations: 192 / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.004936, allocations: 4.359 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.00494, allocations: 4.359 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.158e-05/0.004952, allocations: 11.88 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.005154, allocations: 144.3 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.291e-05/0.005197, allocations: 18.58 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.095e-05/0.005207, allocations: 12.86 kB / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.005213, allocations: 0 / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.457e-05/0.005288, allocations: 59.33 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.005289, allocations: 0 / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 9.517e-05/0.005384, allocations: 37.69 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.005421, allocations: 63.33 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.005498, allocations: 110.7 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.005507, allocations: 25.7 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.607e-05/0.005533, allocations: 88.12 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.005549, allocations: 3.953 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.005577, allocations: 21.7 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.917e-05/0.005646, allocations: 314.8 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.005663, allocations: 16.69 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.005684, allocations: 25.66 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/0.005717, allocations: 25.69 kB / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.005719, allocations: 0 / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.65e-05/0.005776, allocations: 45.62 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.005787, allocations: 4 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.005794, allocations: 4 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.005809, allocations: 0 / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.756e-05/0.005857, allocations: 7.938 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.005862, allocations: 7.984 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.237e-05/0.005874, allocations: 8.031 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.00588, allocations: 0 / 277 MB, free: 13.25 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.688e-05/0.005937, allocations: 109.8 kB / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-06/0.005943, allocations: 0 / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/0.005971, allocations: 12 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.005974, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.005977, allocations: 3.938 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.00598, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.006124, allocations: 191.1 kB / 277.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.006126, allocations: 0 / 277.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.187e-05/0.006137, allocations: 12 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.006139, allocations: 0 / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-06/0.006143, allocations: 0 / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.006146, allocations: 3.938 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.006147, allocations: 0 / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.954e-05/0.006216, allocations: 143.7 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-06/0.006222, allocations: 3.984 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-06/0.00623, allocations: 0 / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.417e-05/0.006255, allocations: 7.938 kB / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.859e-05/0.006273, allocations: 4 kB / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.006283, allocations: 0 / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.559e-05/0.006299, allocations: 16.84 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006299, allocations: 0 / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001685/0.006468, allocations: 23.94 kB / 277.6 MB, free: 12.68 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.0004801/0.006948, allocations: 200.1 kB / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.559e-05/0.007043, allocations: 24.78 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.007048, allocations: 0 / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.063e-05/0.007068, allocations: 8.859 kB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.007224, allocations: 7.984 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.007493, allocations: 116.5 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.008e-05/0.007533, allocations: 51.36 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.372e-05/0.007567, allocations: 7.984 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.007608, allocations: 51.38 kB / 278 MB, free: 12.19 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.007609, allocations: 4.062 kB / 278 MB, free: 12.19 MB / 266.7 MB Notification: Performance of Templates: time 0.003931/0.01154, allocations: 1.118 MB / 279.1 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 -s gbode -gbm=radauIIA3 -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.7381504187360406]