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.0009499/0.0009499, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009597/0.0009597, allocations: 170.6 kB / 24.91 MB, free: 8.723 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.9745/0.9745, allocations: 177.1 MB / 205.3 MB, free: 5.113 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.252e-06/1.252e-06, allocations: 0 / 273.5 MB, free: 1.117 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122e-05/1.247e-05, allocations: 5.266 kB / 273.5 MB, free: 1.113 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002162/0.002175, allocations: 1.893 MB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.003845, allocations: 1.305 MB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.998e-05/0.003925, allocations: 0 / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.004035, allocations: 15.75 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.004146, allocations: 31.67 kB / 276.8 MB, free: 13.84 MB / 266.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.0006294/0.004775, allocations: 310.8 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.00503, allocations: 215.4 kB / 277.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.005145, allocations: 54.5 kB / 277.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.005265, allocations: 135.7 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003306/0.005596, allocations: 106.1 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.005632, allocations: 20 kB / 277.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003995/0.006031, allocations: 343.3 kB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/0.006078, allocations: 63.77 kB / 278 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.528e-05/0.006133, allocations: 67.81 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003769/0.00651, allocations: 382.7 kB / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.006512, allocations: 0 / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.006513, allocations: 0 / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.006517, allocations: 0 / 278.4 MB, free: 12.19 MB / 266.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.0006/0.007117, allocations: 484.6 kB / 278.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.007149, allocations: 15.98 kB / 278.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.007299, allocations: 44.84 kB / 279 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.007452, allocations: 174.1 kB / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.007471, allocations: 16.66 kB / 279.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.0075, allocations: 20.38 kB / 279.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.007688, allocations: 127.2 kB / 279.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.007697, allocations: 3.938 kB / 279.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.00771, allocations: 4 kB / 279.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.007715, allocations: 4 kB / 279.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.693e-05/0.007782, allocations: 49.03 kB / 279.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.008266, allocations: 350.2 kB / 279.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.008538, allocations: 178.4 kB / 279.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.334e-05/0.008581, allocations: 40.83 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.008596, allocations: 7.938 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/0.00871, allocations: 102 kB / 280 MB, free: 10.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.172e-06/0.008712, allocations: 0 / 280 MB, free: 10.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.000184/0.008896, allocations: 116.8 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.008931, allocations: 63.34 kB / 280.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.009038, allocations: 203.7 kB / 280.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.009061, allocations: 33.7 kB / 280.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.009114, allocations: 132.5 kB / 280.5 MB, free: 9.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.009151, allocations: 63.48 kB / 280.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-05/0.009214, allocations: 73.94 kB / 280.7 MB, free: 9.789 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.009298, allocations: 330.8 kB / 281 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.765e-05/0.009356, allocations: 50.33 kB / 281 MB, free: 9.406 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-05/0.009421, allocations: 65.42 kB / 281.1 MB, free: 9.336 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.00954, allocations: 113 kB / 281.2 MB, free: 9.215 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.009542, allocations: 0 / 281.2 MB, free: 9.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0001708/0.009713, allocations: 170.9 kB / 281.4 MB, free: 9.043 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.009723, allocations: 4 kB / 281.4 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.009731, allocations: 3.984 kB / 281.4 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.009742, allocations: 8.031 kB / 281.4 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.009913, allocations: 83.88 kB / 281.5 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.009917, allocations: 3.938 kB / 281.5 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.859e-05/0.009985, allocations: 39.77 kB / 281.5 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.01, allocations: 15.98 kB / 281.5 MB, free: 8.887 MB / 266.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,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,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.285e-05/0.01008, allocations: 128.6 kB / 281.7 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.0101, allocations: 15.98 kB / 281.7 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.859e-05/0.01014, allocations: 25.91 kB / 281.7 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.01014, allocations: 4 kB / 281.7 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.01015, allocations: 3.938 kB / 281.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.01015, allocations: 3.984 kB / 281.7 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.01046, allocations: 358.4 kB / 282.1 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01046, allocations: 0 / 282.1 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.01056, allocations: 39.97 kB / 282.1 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01057, allocations: 4 kB / 282.1 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.01058, allocations: 11.98 kB / 282.1 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.01058, allocations: 3.938 kB / 282.1 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01058, allocations: 0 / 282.1 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.01081, allocations: 290 kB / 282.4 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.01083, allocations: 19.89 kB / 282.4 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.01085, allocations: 8 kB / 282.4 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.01093, allocations: 19.97 kB / 282.5 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.01097, allocations: 19.91 kB / 282.5 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.01098, allocations: 4 kB / 282.5 MB, free: 7.891 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.13e-05/0.01102, allocations: 53.86 kB / 282.5 MB, free: 7.836 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01102, allocations: 0 / 282.5 MB, free: 7.836 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000237/0.01125, allocations: 107.7 kB / 282.6 MB, free: 7.73 MB / 266.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.0004851/0.01174, allocations: 298 kB / 282.9 MB, free: 7.477 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.01191, allocations: 115.9 kB / 283 MB, free: 7.363 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.01192, allocations: 4 kB / 283.1 MB, free: 7.359 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.773e-05/0.01198, allocations: 48.7 kB / 283.1 MB, free: 7.309 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.01216, allocations: 39.92 kB / 283.1 MB, free: 7.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.01262, allocations: 387.3 kB / 283.5 MB, free: 6.859 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.417e-05/0.01267, allocations: 79.97 kB / 283.6 MB, free: 6.762 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.538e-05/0.01274, allocations: 25.64 kB / 283.6 MB, free: 6.738 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.978e-05/0.01284, allocations: 87.34 kB / 283.7 MB, free: 6.652 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01284, allocations: 0 / 283.7 MB, free: 6.652 MB / 266.7 MB Notification: Performance of Templates: time 0.005645/0.01849, allocations: 4.073 MB / 287.8 MB, free: 2.621 MB / 266.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1513778888620436]