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.0007142/0.0007142, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003046/0.003046, allocations: 146.9 kB / 24.68 MB, free: 9.418 MB / 18.57 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 0.8143/0.8143, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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 1.743e-06/1.743e-06, allocations: 0 / 319.7 MB, free: 5.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.297e-05, allocations: 6.219 kB / 319.7 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.001933/0.001956, allocations: 1.771 MB / 321.5 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.003365, allocations: 1.196 MB / 322.7 MB, free: 2.703 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.252e-05/0.003437, allocations: 3.938 kB / 322.7 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.999e-05/0.003537, allocations: 27.73 kB / 322.7 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.939e-05/0.003607, allocations: 31.66 kB / 322.7 MB, free: 2.641 MB / 282.7 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.0005976/0.004204, allocations: 326.8 kB / 323 MB, free: 2.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.004383, allocations: 223.4 kB / 323.3 MB, free: 2.102 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.004497, allocations: 44.55 kB / 323.3 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.0046, allocations: 139.7 kB / 323.4 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003745/0.004975, allocations: 98.95 kB / 323.5 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.005002, allocations: 24 kB / 323.6 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003198/0.005322, allocations: 323.2 kB / 323.9 MB, free: 1.484 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.69e-05/0.005359, allocations: 51.83 kB / 323.9 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.899e-05/0.005408, allocations: 75.73 kB / 324 MB, free: 1.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.005754, allocations: 430.8 kB / 324.4 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.162e-06/0.005755, allocations: 0 / 324.4 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.005756, allocations: 0 / 324.4 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.595e-06/0.005758, allocations: 0 / 324.4 MB, free: 0.9375 MB / 282.7 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.0006665/0.006425, allocations: 0.509 MB / 324.9 MB, free: 408 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.205e-05/0.006447, allocations: 12.92 kB / 324.9 MB, free: 396 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.00656, allocations: 32.78 kB / 325 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.006702, allocations: 179.1 kB / 325.2 MB, free: 160 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.006718, allocations: 12.66 kB / 325.2 MB, free: 148 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.006744, allocations: 27.92 kB / 325.2 MB, free: 120 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.007024, allocations: 198.9 kB / 325.4 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-06/0.007029, allocations: 0 / 325.4 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.007041, allocations: 4 kB / 325.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.007046, allocations: 7.984 kB / 325.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.007276, allocations: 152.4 kB / 325.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.007862, allocations: 464.3 kB / 326 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005586/0.00842, allocations: 309.3 kB / 326.3 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.008571, allocations: 108.8 kB / 326.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.008586, allocations: 7.938 kB / 326.4 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.008802, allocations: 170.2 kB / 326.6 MB, free: 14.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.152e-06/0.008803, allocations: 0 / 326.6 MB, free: 14.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005336/0.009337, allocations: 349.3 kB / 326.9 MB, free: 14.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.009375, allocations: 63.47 kB / 327 MB, free: 14.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.009491, allocations: 190.3 kB / 327.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.009516, allocations: 45.62 kB / 327.2 MB, free: 14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/0.009581, allocations: 124.6 kB / 327.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.009624, allocations: 83.38 kB / 327.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.009688, allocations: 65.69 kB / 327.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.009786, allocations: 330.8 kB / 327.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.01004, allocations: 131.9 kB / 327.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.01023, allocations: 158.3 kB / 328.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.01056, allocations: 271.3 kB / 328.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.01056, allocations: 0 / 328.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004292/0.01099, allocations: 380.5 kB / 328.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.674e-06/0.01099, allocations: 4 kB / 328.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.011, allocations: 0 / 328.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-06/0.011, allocations: 4 kB / 328.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.01114, allocations: 67.92 kB / 328.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.01115, allocations: 11.97 kB / 328.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.96e-05/0.01122, allocations: 35.77 kB / 328.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.01123, allocations: 15.98 kB / 328.9 MB, free: 12.32 MB / 298.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: 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 8.486e-05/0.01132, allocations: 145.6 kB / 329 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.01134, allocations: 15.91 kB / 329 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.01136, allocations: 21.95 kB / 329 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.01137, allocations: 11.94 kB / 329.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01137, allocations: 4 kB / 329.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01137, allocations: 0 / 329.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.01193, allocations: 0.5485 MB / 329.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.01194, allocations: 7.984 kB / 329.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.01204, allocations: 39.95 kB / 329.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.01204, allocations: 0 / 329.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.01206, allocations: 8 kB / 329.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.01206, allocations: 0 / 329.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01206, allocations: 3.938 kB / 329.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005235/0.01258, allocations: 490.7 kB / 330.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.0126, allocations: 19.92 kB / 330.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.01262, allocations: 4 kB / 330.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/0.01271, allocations: 31.91 kB / 330.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.01274, allocations: 11.97 kB / 330.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.01275, allocations: 8 kB / 330.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.173e-05/0.01282, allocations: 140.3 kB / 330.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01282, allocations: 0 / 330.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002272/0.01305, allocations: 99.73 kB / 330.5 MB, free: 10.67 MB / 298.7 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.0003354/0.01339, allocations: 276.8 kB / 330.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003798/0.01376, allocations: 264.4 kB / 331 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.01377, allocations: 0 / 331 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.01392, allocations: 111.8 kB / 331.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.01409, allocations: 36.05 kB / 331.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007734/0.01487, allocations: 448.3 kB / 331.6 MB, free: 9.551 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.234e-05/0.01494, allocations: 129.2 kB / 331.7 MB, free: 9.402 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.01499, allocations: 32.48 kB / 331.7 MB, free: 9.371 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01499, allocations: 0 / 331.7 MB, free: 9.371 MB / 298.7 MB Notification: Performance of Templates: time 0.003579/0.01857, allocations: 4.111 MB / 335.8 MB, free: 5.258 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.933555350638926]