Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001066/0.001066, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.043/1.043, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.445e-05, allocations: 5.125 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.005807/0.005831, allocations: 1.855 MB / 275.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00524/0.01107, allocations: 1.258 MB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.01121, allocations: 4 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.01134, allocations: 23.67 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.0115, allocations: 39.72 kB / 276.5 MB, free: 14.01 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001105/0.0126, allocations: 330.8 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000287/0.01289, allocations: 215.4 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.01306, allocations: 52.53 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.01325, allocations: 135.6 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004981/0.01374, allocations: 105.2 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.707e-05/0.01379, allocations: 28 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005405/0.01433, allocations: 315.3 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.748e-05/0.0144, allocations: 59.75 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.54e-05/0.01447, allocations: 63.81 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005963/0.01507, allocations: 386.7 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01507, allocations: 0 / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01507, allocations: 0 / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.01508, allocations: 0 / 278.2 MB, free: 12.36 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.0008913/0.01597, allocations: 0.6057 MB / 278.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.01601, allocations: 12.03 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.01623, allocations: 56.61 kB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.01647, allocations: 185.6 kB / 279 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.0165, allocations: 20.66 kB / 279.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.01655, allocations: 20.36 kB / 279.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.01681, allocations: 124.1 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.01682, allocations: 192 / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.01684, allocations: 12.38 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.01685, allocations: 3.938 kB / 279.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.01696, allocations: 52.45 kB / 279.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008771/0.01784, allocations: 488.5 kB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.01829, allocations: 159.3 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.124e-05/0.01836, allocations: 39.7 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.01839, allocations: 4 kB / 279.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.01857, allocations: 100.9 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.904e-06/0.01858, allocations: 0 / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003972/0.01897, allocations: 168.8 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.01903, allocations: 63.34 kB / 280.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.01924, allocations: 254.3 kB / 280.5 MB, free: 9.871 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.01927, allocations: 37.64 kB / 280.5 MB, free: 9.828 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.0194, allocations: 187.3 kB / 280.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.291e-05/0.01947, allocations: 83.34 kB / 280.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.01959, allocations: 71.62 kB / 280.9 MB, free: 9.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.01978, allocations: 0.5079 MB / 281.4 MB, free: 8.961 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.695e-05/0.01988, allocations: 39.72 kB / 281.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.02, allocations: 75.92 kB / 281.5 MB, free: 8.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.02019, allocations: 109.1 kB / 281.6 MB, free: 8.723 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.0202, allocations: 0 / 281.6 MB, free: 8.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003608/0.02056, allocations: 211.9 kB / 281.8 MB, free: 8.512 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.02058, allocations: 8.031 kB / 281.8 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.02059, allocations: 0 / 281.8 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.0206, allocations: 7.938 kB / 281.8 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.02088, allocations: 79.88 kB / 281.9 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.02088, allocations: 0 / 281.9 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.02101, allocations: 39.77 kB / 281.9 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.02103, allocations: 8 kB / 282 MB, free: 8.371 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 0.000141/0.02117, allocations: 184.5 kB / 282.1 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.02121, allocations: 19.91 kB / 282.2 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.007e-05/0.02127, allocations: 25.95 kB / 282.2 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.02128, allocations: 3.938 kB / 282.2 MB, free: 8.133 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.02128, allocations: 4 kB / 282.2 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.02129, allocations: 0 / 282.2 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006389/0.02193, allocations: 437.6 kB / 282.6 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.02193, allocations: 0 / 282.6 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.02212, allocations: 55.89 kB / 282.7 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.02212, allocations: 0 / 282.7 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.02214, allocations: 4 kB / 282.7 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.02215, allocations: 0 / 282.7 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.02215, allocations: 0 / 282.7 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000447/0.0226, allocations: 346.5 kB / 283 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.02263, allocations: 19.84 kB / 283 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.02267, allocations: 8 kB / 283 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.02281, allocations: 20.05 kB / 283.1 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.02286, allocations: 19.97 kB / 283.1 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.02288, allocations: 7.984 kB / 283.1 MB, free: 7.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001064/0.02298, allocations: 164.2 kB / 283.2 MB, free: 7.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02298, allocations: 0 / 283.2 MB, free: 7.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005192/0.0235, allocations: 103.7 kB / 283.3 MB, free: 6.918 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.0007144/0.02422, allocations: 286.2 kB / 283.6 MB, free: 6.652 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002991/0.02452, allocations: 139.6 kB / 283.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.02452, allocations: 0 / 283.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.02466, allocations: 62.86 kB / 283.8 MB, free: 6.449 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.02496, allocations: 32.05 kB / 283.9 MB, free: 6.418 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.02555, allocations: 383.2 kB / 284.2 MB, free: 6.008 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.613e-05/0.02559, allocations: 83.84 kB / 284.3 MB, free: 5.906 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.922e-05/0.02567, allocations: 29.62 kB / 284.3 MB, free: 5.875 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.02578, allocations: 106.2 kB / 284.4 MB, free: 5.77 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02578, allocations: 3.938 kB / 284.4 MB, free: 5.766 MB / 266.7 MB Notification: Performance of Templates: time 0.006816/0.0326, allocations: 4.144 MB / 288.6 MB, free: 1.66 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.802285620942712]