Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.002021/0.002021, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 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.001923/0.001923, allocations: 214.5 kB / 24.48 MB, free: 3.836 MB / 14.72 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.547/1.547, allocations: 230.5 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 63.89 kB / 379 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2292, allocations: 53.41 MB / 432.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003182/0.2324, allocations: 1.801 MB / 434.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002227/0.2346, allocations: 1.247 MB / 435.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.613e-05/0.2347, allocations: 0 / 435.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.2348, allocations: 23.67 kB / 435.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.235, allocations: 31.72 kB / 435.5 MB, free: 3.418 MB / 334.1 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.000814/0.2358, allocations: 315.1 kB / 435.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.236, allocations: 219.5 kB / 436 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.2362, allocations: 56.33 kB / 436.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.2363, allocations: 107.5 kB / 436.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005225/0.2368, allocations: 109 kB / 436.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.2369, allocations: 24 kB / 436.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005122/0.2374, allocations: 311.4 kB / 436.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.044e-05/0.2375, allocations: 63.75 kB / 436.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.416e-05/0.2375, allocations: 83.52 kB / 436.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005308/0.2381, allocations: 389.5 kB / 437.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2381, allocations: 4 kB / 437.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2381, allocations: 4 kB / 437.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.2381, allocations: 0 / 437.2 MB, free: 1.777 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.00105/0.2391, allocations: 0.5058 MB / 437.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.2392, allocations: 8.031 kB / 437.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.2394, allocations: 40.73 kB / 437.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.2396, allocations: 182.2 kB / 437.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.2397, allocations: 24.58 kB / 437.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.2397, allocations: 20.38 kB / 437.9 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.2402, allocations: 204.4 kB / 438.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2402, allocations: 0 / 438.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.2402, allocations: 4 kB / 438.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.2402, allocations: 4 kB / 438.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.2407, allocations: 160.4 kB / 438.3 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009764/0.2417, allocations: 468.6 kB / 438.8 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.2427, allocations: 294.7 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.243, allocations: 108.8 kB / 439.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.243, allocations: 7.984 kB / 439.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003979/0.2434, allocations: 170.6 kB / 439.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.2434, allocations: 4 kB / 439.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0009754/0.2444, allocations: 345.2 kB / 439.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.2444, allocations: 67.39 kB / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.2446, allocations: 195.1 kB / 439.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.2447, allocations: 45.69 kB / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.866e-05/0.2448, allocations: 124.6 kB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.15e-05/0.2448, allocations: 83.36 kB / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.2449, allocations: 65.69 kB / 440.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2451, allocations: 334.8 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.2454, allocations: 135.7 kB / 440.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.2458, allocations: 169.4 kB / 440.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006713/0.2465, allocations: 271.2 kB / 441.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2465, allocations: 0 / 441.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008223/0.2473, allocations: 371.9 kB / 441.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2473, allocations: 15.95 kB / 441.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2473, allocations: 4 kB / 441.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2473, allocations: 0 / 441.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.2476, allocations: 67.89 kB / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2476, allocations: 0 / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.2478, allocations: 47.69 kB / 441.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.2478, allocations: 12 kB / 441.6 MB, free: 13.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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 0.0001502/0.248, allocations: 145.7 kB / 441.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.248, allocations: 19.84 kB / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.048e-05/0.2481, allocations: 25.95 kB / 441.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2481, allocations: 0 / 441.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2481, allocations: 4 kB / 441.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2481, allocations: 0 / 441.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.2491, allocations: 0.5329 MB / 442.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2491, allocations: 0 / 442.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.2493, allocations: 51.83 kB / 442.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.2493, allocations: 3.938 kB / 442.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.2494, allocations: 4 kB / 442.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2494, allocations: 4 kB / 442.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2494, allocations: 4 kB / 442.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.2504, allocations: 491.1 kB / 442.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/0.2504, allocations: 11.91 kB / 442.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.2505, allocations: 8.062 kB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.2507, allocations: 19.97 kB / 442.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.2507, allocations: 15.97 kB / 443 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.2507, allocations: 7.938 kB / 443 MB, free: 11.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.2508, allocations: 144.2 kB / 443.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2508, allocations: 0 / 443.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003954/0.2512, allocations: 111.7 kB / 443.2 MB, free: 11.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006/0.2518, allocations: 271.3 kB / 443.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007181/0.2526, allocations: 259.8 kB / 443.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2526, allocations: 0 / 443.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003054/0.2529, allocations: 110.4 kB / 443.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.2532, allocations: 31.91 kB / 443.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009497/0.2541, allocations: 499.9 kB / 444.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.2542, allocations: 133.1 kB / 444.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.521e-05/0.2543, allocations: 31.42 kB / 444.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2543, allocations: 0 / 444.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of Templates: time 0.006691/0.261, allocations: 4.133 MB / 448.7 MB, free: 6.004 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 11.242872806731611]