Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 51.92 kB / 371.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.257, allocations: 52.19 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003596/0.2606, allocations: 1.855 MB / 425.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.2632, allocations: 1.278 MB / 427 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.2633, allocations: 4 kB / 427 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.2635, allocations: 15.75 kB / 427.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.2636, allocations: 35.72 kB / 427.1 MB, free: 11.47 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.001069/0.2647, allocations: 323.1 kB / 427.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.265, allocations: 219.5 kB / 427.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.2651, allocations: 44.56 kB / 427.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.2653, allocations: 103.6 kB / 427.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006853/0.266, allocations: 129.5 kB / 427.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.963e-05/0.266, allocations: 20 kB / 427.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00064/0.2667, allocations: 327.4 kB / 428.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.905e-05/0.2667, allocations: 55.83 kB / 428.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.2669, allocations: 103.4 kB / 428.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006369/0.2675, allocations: 383.9 kB / 428.8 MB, free: 9.805 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2675, allocations: 3.938 kB / 428.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.2675, allocations: 0 / 428.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.2675, allocations: 0 / 428.8 MB, free: 9.801 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.001249/0.2688, allocations: 0.5097 MB / 429.3 MB, free: 9.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.2688, allocations: 8.031 kB / 429.3 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.2691, allocations: 44.77 kB / 429.3 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.2693, allocations: 183.6 kB / 429.5 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.2694, allocations: 20.22 kB / 429.5 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.2694, allocations: 16 kB / 429.5 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.2699, allocations: 202.9 kB / 429.7 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.2699, allocations: 0 / 429.7 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.27, allocations: 8 kB / 429.7 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.27, allocations: 4 kB / 429.7 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005008/0.2705, allocations: 152.2 kB / 429.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.2716, allocations: 0.5502 MB / 430.4 MB, free: 8.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009956/0.2726, allocations: 298.7 kB / 430.7 MB, free: 7.711 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.2728, allocations: 112.7 kB / 430.8 MB, free: 7.598 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.2729, allocations: 0 / 430.8 MB, free: 7.598 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004013/0.2733, allocations: 167.3 kB / 431 MB, free: 7.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.432e-06/0.2733, allocations: 0 / 431 MB, free: 7.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.00098/0.2743, allocations: 357.2 kB / 431.4 MB, free: 7.066 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.2743, allocations: 63.34 kB / 431.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.2745, allocations: 211.8 kB / 431.6 MB, free: 6.773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.2746, allocations: 41.69 kB / 431.7 MB, free: 6.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.739e-05/0.2747, allocations: 124.6 kB / 431.8 MB, free: 6.602 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.707e-05/0.2747, allocations: 75.48 kB / 431.9 MB, free: 6.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.2748, allocations: 73.64 kB / 431.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.275, allocations: 338.8 kB / 432.3 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/0.2753, allocations: 127.9 kB / 432.4 MB, free: 5.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.2757, allocations: 161.6 kB / 432.6 MB, free: 5.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005994/0.2763, allocations: 264.6 kB / 432.8 MB, free: 5.559 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2763, allocations: 0 / 432.8 MB, free: 5.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007831/0.2771, allocations: 383.5 kB / 433.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2771, allocations: 4 kB / 433.2 MB, free: 5.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2771, allocations: 0 / 433.2 MB, free: 5.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.2771, allocations: 7.938 kB / 433.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.2774, allocations: 71.91 kB / 433.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2774, allocations: 0 / 433.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.2776, allocations: 51.7 kB / 433.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.2776, allocations: 11.98 kB / 433.3 MB, free: 5.035 MB / 334.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.0001474/0.2778, allocations: 142.7 kB / 433.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.2778, allocations: 19.86 kB / 433.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.023e-05/0.2779, allocations: 21.95 kB / 433.5 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.2779, allocations: 4 kB / 433.5 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2779, allocations: 0 / 433.5 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.2779, allocations: 3.938 kB / 433.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.279, allocations: 0.6115 MB / 434.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.279, allocations: 0 / 434.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.2793, allocations: 43.95 kB / 434.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2793, allocations: 3.938 kB / 434.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.2793, allocations: 11.92 kB / 434.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.2793, allocations: 4 kB / 434.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2793, allocations: 4 kB / 434.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.2803, allocations: 485.9 kB / 434.7 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.2803, allocations: 23.92 kB / 434.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.2804, allocations: 4 kB / 434.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.2805, allocations: 19.97 kB / 434.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.2806, allocations: 15.97 kB / 434.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.2806, allocations: 8 kB / 434.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.2808, allocations: 155.2 kB / 434.9 MB, free: 3.406 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2808, allocations: 0 / 434.9 MB, free: 3.406 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004342/0.2812, allocations: 99.73 kB / 435 MB, free: 3.309 MB / 334.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 (18): * Single equations (assignments): 16 * 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.0006437/0.2819, allocations: 261.9 kB / 435.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007481/0.2826, allocations: 272.3 kB / 435.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2826, allocations: 0 / 435.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003026/0.2829, allocations: 103.9 kB / 435.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.2832, allocations: 26.02 kB / 435.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009419/0.2842, allocations: 496 kB / 436.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.2845, allocations: 0.7398 MB / 436.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.49e-05/0.2846, allocations: 31.42 kB / 436.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of SimCode: time 9.82e-07/0.2846, allocations: 0 / 436.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of Templates: time 0.007499/0.2921, allocations: 4.077 MB / 441 MB, free: 13.29 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 10.562933050096035]