Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002253/0.002253, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 47.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2283, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003087/0.2314, allocations: 1.801 MB / 434.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.2337, allocations: 1.243 MB / 435.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.866e-05/0.2338, allocations: 0 / 435.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.2339, allocations: 27.67 kB / 435.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.234, allocations: 31.72 kB / 435.4 MB, free: 3.621 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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.0008275/0.2348, allocations: 327.1 kB / 435.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.2351, allocations: 215.4 kB / 436 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.2352, allocations: 56.28 kB / 436 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.2354, allocations: 107.6 kB / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005657/0.2359, allocations: 129.4 kB / 436.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.236, allocations: 24 kB / 436.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005181/0.2365, allocations: 327.4 kB / 436.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/0.2366, allocations: 55.77 kB / 436.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.808e-05/0.2367, allocations: 87.56 kB / 436.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005443/0.2372, allocations: 393.5 kB / 437.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2372, allocations: 0 / 437.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2372, allocations: 0 / 437.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.2372, allocations: 0 / 437.1 MB, free: 1.945 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.001158/0.2384, allocations: 0.5058 MB / 437.6 MB, free: 1.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2384, allocations: 19.98 kB / 437.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.2386, allocations: 36.73 kB / 437.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.2389, allocations: 182.1 kB / 437.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.2389, allocations: 16.59 kB / 437.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.239, allocations: 24.12 kB / 437.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.2395, allocations: 197 kB / 438.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2395, allocations: 0 / 438.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.2395, allocations: 8 kB / 438.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2395, allocations: 4 kB / 438.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005098/0.24, allocations: 156.4 kB / 438.3 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.2411, allocations: 476.6 kB / 438.7 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.2422, allocations: 294.8 kB / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003077/0.2425, allocations: 104.7 kB / 439.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.2425, allocations: 4 kB / 439.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000423/0.2429, allocations: 171.2 kB / 439.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.653e-06/0.2429, allocations: 0 / 439.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.00105/0.244, allocations: 349.3 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.244, allocations: 59.41 kB / 439.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.2442, allocations: 207.1 kB / 439.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.2443, allocations: 33.7 kB / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.2444, allocations: 136.6 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.863e-05/0.2445, allocations: 71.3 kB / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.2446, allocations: 69.67 kB / 440.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2447, allocations: 330.8 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000414/0.2451, allocations: 139.7 kB / 440.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.2455, allocations: 173.4 kB / 440.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006734/0.2462, allocations: 267.3 kB / 441.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.2462, allocations: 11.81 kB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008755/0.2471, allocations: 375.9 kB / 441.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2471, allocations: 8 kB / 441.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2471, allocations: 0 / 441.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2471, allocations: 0 / 441.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.2475, allocations: 71.88 kB / 441.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2475, allocations: 0 / 441.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.2477, allocations: 51.75 kB / 441.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.2477, allocations: 8 kB / 441.6 MB, free: 13.29 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.0001591/0.2479, allocations: 149.6 kB / 441.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.2479, allocations: 15.91 kB / 441.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.642e-05/0.248, allocations: 17.97 kB / 441.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.248, allocations: 4 kB / 441.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.248, allocations: 0 / 441.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.248, allocations: 0 / 441.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.2491, allocations: 0.5397 MB / 442.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2491, allocations: 3.938 kB / 442.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.2494, allocations: 43.95 kB / 442.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.2494, allocations: 8 kB / 442.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.2494, allocations: 11.98 kB / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2494, allocations: 0 / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2494, allocations: 0 / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.2505, allocations: 483 kB / 442.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.2505, allocations: 11.91 kB / 442.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.2506, allocations: 12.05 kB / 442.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.2508, allocations: 19.98 kB / 442.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.2508, allocations: 15.91 kB / 442.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.2508, allocations: 7.984 kB / 442.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.251, allocations: 148.2 kB / 443.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.251, allocations: 4 kB / 443.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004468/0.2514, allocations: 103.7 kB / 443.2 MB, free: 11.65 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.0006591/0.2521, allocations: 270.3 kB / 443.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000804/0.2529, allocations: 263.7 kB / 443.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2529, allocations: 4.062 kB / 443.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.2532, allocations: 111.8 kB / 443.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.2536, allocations: 27.16 kB / 443.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000983/0.2545, allocations: 466.4 kB / 444.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.2547, allocations: 133.1 kB / 444.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.2548, allocations: 29.62 kB / 444.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.822e-05/0.2549, allocations: 27.42 kB / 444.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2549, allocations: 0 / 444.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Templates: time 0.008272/0.2631, allocations: 3.8 MB / 448.3 MB, free: 6.559 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3524414869898465]