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.001487/0.001487, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001629/0.001629, allocations: 202.1 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.553/1.553, allocations: 230.6 MB / 257.5 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001667/0.001667, allocations: 51.92 kB / 378.2 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2908, allocations: 53.36 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.00333/0.2941, allocations: 1.825 MB / 433.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002589/0.2967, allocations: 1.236 MB / 434.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.2968, allocations: 4 kB / 434.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.297, allocations: 15.75 kB / 434.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.2971, allocations: 39.64 kB / 434.7 MB, free: 3.566 MB / 334.1 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.001069/0.2982, allocations: 327 kB / 435 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.2985, allocations: 215.5 kB / 435.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.2987, allocations: 56.34 kB / 435.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.2988, allocations: 99.61 kB / 435.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007239/0.2995, allocations: 129.7 kB / 435.5 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.165e-05/0.2996, allocations: 20 kB / 435.5 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006329/0.3002, allocations: 327.4 kB / 435.9 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.78e-05/0.3003, allocations: 55.83 kB / 435.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.3004, allocations: 91.5 kB / 436 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006457/0.3011, allocations: 385 kB / 436.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3011, allocations: 4 kB / 436.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3011, allocations: 0 / 436.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.3011, allocations: 0 / 436.4 MB, free: 1.898 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.001264/0.3024, allocations: 0.5058 MB / 436.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.3024, allocations: 11.98 kB / 436.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/0.3027, allocations: 44.72 kB / 436.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.303, allocations: 178.2 kB / 437.1 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.303, allocations: 24.59 kB / 437.1 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/0.3031, allocations: 20.12 kB / 437.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005683/0.3036, allocations: 192.2 kB / 437.3 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3036, allocations: 4 kB / 437.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.3037, allocations: 4 kB / 437.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.3037, allocations: 4 kB / 437.4 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005388/0.3042, allocations: 161.2 kB / 437.5 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.3053, allocations: 468.7 kB / 438 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.3065, allocations: 302.8 kB / 438.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/0.3068, allocations: 108.7 kB / 438.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.3068, allocations: 0 / 438.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000464/0.3073, allocations: 159.3 kB / 438.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.703e-06/0.3073, allocations: 4 kB / 438.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001125/0.3084, allocations: 360.2 kB / 438.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.3085, allocations: 59.41 kB / 438.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.3088, allocations: 203.1 kB / 439.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.854e-05/0.3088, allocations: 37.7 kB / 439.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.309, allocations: 132.6 kB / 439.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.522e-05/0.3091, allocations: 79.28 kB / 439.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.3092, allocations: 65.69 kB / 439.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3094, allocations: 334.8 kB / 439.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.3097, allocations: 139.6 kB / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.3103, allocations: 165.4 kB / 440.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007229/0.311, allocations: 275.2 kB / 440.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.311, allocations: 7.938 kB / 440.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009634/0.3119, allocations: 371.9 kB / 440.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.312, allocations: 8.031 kB / 440.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.312, allocations: 0 / 440.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.312, allocations: 4 kB / 440.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.3124, allocations: 71.88 kB / 440.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.3124, allocations: 4 kB / 440.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.3126, allocations: 39.75 kB / 440.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.3126, allocations: 8 kB / 440.8 MB, free: 13.25 MB / 350.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.0002199/0.3128, allocations: 157.6 kB / 441 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.3129, allocations: 15.91 kB / 441 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.195e-05/0.313, allocations: 21.95 kB / 441 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.313, allocations: 0 / 441 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.313, allocations: 0 / 441 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.313, allocations: 3.984 kB / 441 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.3142, allocations: 0.5394 MB / 441.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.3143, allocations: 7.922 kB / 441.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.3145, allocations: 39.97 kB / 441.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3145, allocations: 0 / 441.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.3146, allocations: 11.92 kB / 441.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3146, allocations: 4 kB / 441.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3146, allocations: 0 / 441.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.3157, allocations: 479.1 kB / 442.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.3158, allocations: 15.91 kB / 442.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.3158, allocations: 12.05 kB / 442.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.316, allocations: 19.97 kB / 442.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/0.3161, allocations: 15.92 kB / 442.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.3161, allocations: 11.98 kB / 442.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001604/0.3163, allocations: 140.3 kB / 442.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3163, allocations: 0 / 442.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005304/0.3168, allocations: 111.6 kB / 442.4 MB, free: 11.6 MB / 350.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 (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.0007722/0.3176, allocations: 275.5 kB / 442.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008097/0.3184, allocations: 263.8 kB / 443 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3184, allocations: 0 / 443 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.3187, allocations: 106.6 kB / 443.1 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.3191, allocations: 33.86 kB / 443.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.3202, allocations: 462.4 kB / 443.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/0.3204, allocations: 133.1 kB / 443.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.3205, allocations: 37.61 kB / 443.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.578e-05/0.3206, allocations: 27.42 kB / 443.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3206, allocations: 0 / 443.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Templates: time 0.009678/0.3303, allocations: 3.795 MB / 447.5 MB, free: 6.512 MB / 350.1 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: 5.987215641885996]