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.0009297/0.0009297, allocations: 87.62 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.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.004074/0.004074, allocations: 162.4 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.9512/0.9512, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.773e-06/1.773e-06, allocations: 0 / 325.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/2.945e-05, allocations: 5.234 kB / 325.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002293/0.002323, allocations: 1.821 MB / 327.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.003912, allocations: 1.235 MB / 328.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.135e-05/0.004004, allocations: 4 kB / 328.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.004119, allocations: 19.73 kB / 328.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.004243, allocations: 43.66 kB / 329 MB, free: 12.14 MB / 298.7 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.0007059/0.004949, allocations: 330.8 kB / 329.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.005155, allocations: 211.4 kB / 329.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.0053, allocations: 56.92 kB / 329.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.005423, allocations: 135.7 kB / 329.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004842/0.005907, allocations: 94.77 kB / 329.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/0.005945, allocations: 28 kB / 329.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003753/0.00632, allocations: 319.2 kB / 330.1 MB, free: 11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.00638, allocations: 55.81 kB / 330.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.718e-05/0.006447, allocations: 67.75 kB / 330.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004998/0.006947, allocations: 442.7 kB / 330.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.006951, allocations: 0 / 330.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.006953, allocations: 0 / 330.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.006959, allocations: 0 / 330.7 MB, free: 10.44 MB / 298.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.0007844/0.007743, allocations: 0.5098 MB / 331.2 MB, free: 9.898 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.007782, allocations: 11.98 kB / 331.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.007944, allocations: 36.78 kB / 331.2 MB, free: 9.852 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.008141, allocations: 185.2 kB / 331.4 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.008165, allocations: 16.64 kB / 331.4 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.008202, allocations: 28.31 kB / 331.5 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.008506, allocations: 199.2 kB / 331.7 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.008519, allocations: 3.938 kB / 331.7 MB, free: 9.398 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.008536, allocations: 8 kB / 331.7 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.008542, allocations: 4 kB / 331.7 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.008798, allocations: 156.9 kB / 331.8 MB, free: 9.234 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006743/0.009473, allocations: 464.8 kB / 332.3 MB, free: 8.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000605/0.01008, allocations: 290.7 kB / 332.6 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.01024, allocations: 108.8 kB / 332.7 MB, free: 8.348 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.01026, allocations: 7.938 kB / 332.7 MB, free: 8.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00025/0.01051, allocations: 175 kB / 332.8 MB, free: 8.156 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.744e-06/0.01051, allocations: 0 / 332.8 MB, free: 8.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005951/0.01111, allocations: 359.3 kB / 333.2 MB, free: 7.805 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.01115, allocations: 59.39 kB / 333.3 MB, free: 7.734 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.01129, allocations: 199.7 kB / 333.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.01131, allocations: 49.67 kB / 333.5 MB, free: 7.477 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.01139, allocations: 124.6 kB / 333.6 MB, free: 7.352 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.01143, allocations: 71.42 kB / 333.7 MB, free: 7.281 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-05/0.01151, allocations: 77.64 kB / 333.8 MB, free: 7.199 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.0116, allocations: 330.8 kB / 334.1 MB, free: 6.867 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.0118, allocations: 127.9 kB / 334.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.012, allocations: 165.5 kB / 334.4 MB, free: 6.574 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.01235, allocations: 271.2 kB / 334.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01235, allocations: 0 / 334.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004709/0.01283, allocations: 383.9 kB / 335 MB, free: 5.922 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.01284, allocations: 4 kB / 335 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.01285, allocations: 0 / 335 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.01287, allocations: 4 kB / 335 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.01303, allocations: 71.88 kB / 335.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.01303, allocations: 4.031 kB / 335.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.479e-05/0.01312, allocations: 39.86 kB / 335.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.01314, allocations: 15.98 kB / 335.1 MB, free: 5.785 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 0.0001209/0.01326, allocations: 149.6 kB / 335.3 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.01328, allocations: 23.8 kB / 335.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.063e-05/0.01333, allocations: 21.95 kB / 335.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.01334, allocations: 11.94 kB / 335.4 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.01335, allocations: 3.984 kB / 335.4 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.01335, allocations: 0 / 335.4 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006777/0.01403, allocations: 0.5252 MB / 335.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.01403, allocations: 4 kB / 335.9 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.01415, allocations: 39.95 kB / 335.9 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.01415, allocations: 0 / 335.9 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.01417, allocations: 11.94 kB / 335.9 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.01417, allocations: 0 / 335.9 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01417, allocations: 0 / 335.9 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005783/0.01475, allocations: 483 kB / 336.4 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.01477, allocations: 27.83 kB / 336.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.0148, allocations: 4 kB / 336.4 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.01488, allocations: 23.97 kB / 336.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.01493, allocations: 19.97 kB / 336.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.01494, allocations: 8 kB / 336.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.174e-05/0.01503, allocations: 140.3 kB / 336.6 MB, free: 4.246 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01503, allocations: 0 / 336.6 MB, free: 4.246 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003247/0.01535, allocations: 107.6 kB / 336.7 MB, free: 4.141 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 (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.0005002/0.01585, allocations: 285.7 kB / 337 MB, free: 3.887 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004423/0.01629, allocations: 274.8 kB / 337.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.0163, allocations: 0 / 337.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.01646, allocations: 103.9 kB / 337.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.01671, allocations: 27.92 kB / 337.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006936/0.0174, allocations: 472.2 kB / 337.9 MB, free: 2.996 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.041e-05/0.01749, allocations: 129.2 kB / 338 MB, free: 2.848 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.978e-05/0.01755, allocations: 24.48 kB / 338 MB, free: 2.824 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01755, allocations: 0 / 338 MB, free: 2.824 MB / 298.7 MB Notification: Performance of Templates: time 0.004831/0.02238, allocations: 4.179 MB / 342.2 MB, free: 14.65 MB / 314.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/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: 6.012763747945428]