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.001831/0.001831, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.002541/0.002541, allocations: 156.5 kB / 24.55 MB, free: 16 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.037/1.037, allocations: 177 MB / 204.8 MB, free: 5.258 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 2.214e-06/2.214e-06, allocations: 0 / 272.9 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.474e-05/3.695e-05, allocations: 3.719 kB / 272.9 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002234/0.002271, allocations: 1.398 MB / 274.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007287/0.003, allocations: 354.7 kB / 274.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.00304, allocations: 0 / 274.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.295e-05/0.003073, allocations: 3.938 kB / 274.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.969e-05/0.003142, allocations: 3.938 kB / 274.7 MB, free: 15.54 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.0006039/0.003746, allocations: 95.56 kB / 274.8 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.719e-05/0.003823, allocations: 23.92 kB / 274.8 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.003871, allocations: 0 / 274.8 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.422e-05/0.003915, allocations: 4 kB / 274.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.926e-05/0.003944, allocations: 15.92 kB / 274.8 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.003962, allocations: 0 / 274.8 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.004189, allocations: 123.7 kB / 274.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.004207, allocations: 0 / 274.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.004242, allocations: 11.97 kB / 274.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.004445, allocations: 91.64 kB / 275 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.004449, allocations: 0 / 275 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.004451, allocations: 4 kB / 275 MB, free: 15.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.004456, allocations: 0 / 275 MB, free: 15.17 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.0003978/0.004854, allocations: 372.5 kB / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.004912, allocations: 15.98 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.00496, allocations: 4.938 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.005164, allocations: 116.5 kB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.005182, allocations: 384 / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.005198, allocations: 4.359 kB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.946e-05/0.005298, allocations: 34.25 kB / 275.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.005309, allocations: 192 / 275.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.00532, allocations: 384 / 275.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.005327, allocations: 4.312 kB / 275.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.789e-05/0.005345, allocations: 15.88 kB / 275.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.005685, allocations: 239.8 kB / 275.8 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.445e-05/0.005749, allocations: 35.05 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/0.00577, allocations: 11.75 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.005781, allocations: 4 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/0.005881, allocations: 57 kB / 275.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.005882, allocations: 0 / 275.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001819/0.006064, allocations: 53.62 kB / 276 MB, free: 14.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.006108, allocations: 59.39 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.006211, allocations: 157.9 kB / 276.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.00622, allocations: 29.7 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.006267, allocations: 142.8 kB / 276.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.006285, allocations: 3.953 kB / 276.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.00632, allocations: 23.38 kB / 276.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.006435, allocations: 0.4884 MB / 276.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/0.006465, allocations: 16.7 kB / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.591e-05/0.006491, allocations: 27.31 kB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.613e-05/0.006537, allocations: 31.36 kB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.00654, allocations: 0 / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.095e-05/0.006621, allocations: 57.95 kB / 277 MB, free: 12.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.006636, allocations: 12.03 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.006643, allocations: 3.938 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.006658, allocations: 0 / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.324e-05/0.006731, allocations: 12 kB / 277 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.006737, allocations: 0 / 277 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.981e-05/0.006757, allocations: 0 / 277 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.006766, allocations: 4 kB / 277 MB, free: 12.94 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 7.973e-05/0.006846, allocations: 164.5 kB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.006857, allocations: 4 kB / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.006886, allocations: 7.938 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.006889, allocations: 7.938 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.006893, allocations: 0 / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.006897, allocations: 0 / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.007099, allocations: 293.7 kB / 277.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.007102, allocations: 0 / 277.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-05/0.007115, allocations: 0 / 277.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.007118, allocations: 3.938 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.007125, allocations: 4 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.007126, allocations: 0 / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.007127, allocations: 0 / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.007249, allocations: 199.9 kB / 277.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.00726, allocations: 7.938 kB / 277.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.007273, allocations: 0 / 277.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.619e-05/0.007299, allocations: 4 kB / 277.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.007332, allocations: 4 kB / 277.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.00735, allocations: 0 / 277.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.404e-05/0.007404, allocations: 127.2 kB / 277.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007404, allocations: 0 / 277.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002286/0.007633, allocations: 27.94 kB / 277.9 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.0004576/0.00809, allocations: 199.7 kB / 278.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.00821, allocations: 31.61 kB / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.008213, allocations: 0 / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.517e-05/0.008238, allocations: 11.69 kB / 278.1 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.0001601/0.008398, allocations: 7.984 kB / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.008752, allocations: 126.2 kB / 278.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.612e-05/0.008788, allocations: 51.36 kB / 278.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.477e-05/0.008823, allocations: 7.984 kB / 278.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.008852, allocations: 12.5 kB / 278.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.008853, allocations: 0 / 278.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of Templates: time 0.00329/0.01214, allocations: 0.9867 MB / 279.3 MB, free: 10.56 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: 3.0005332976579666]