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.0009247/0.0009247, allocations: 75.91 kB / 21.18 MB, free: 3.395 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.0009012/0.0009012, allocations: 145.5 kB / 24.54 MB, free: 36 kB / 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.9331/0.9331, allocations: 173.4 MB / 201.1 MB, free: 9.348 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.733e-06/1.733e-06, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.316e-05, allocations: 6.25 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002234/0.002258, allocations: 1.842 MB / 269.8 MB, free: 4.574 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.003961, allocations: 1.231 MB / 271.1 MB, free: 3.336 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.925e-05/0.004051, allocations: 4 kB / 271.1 MB, free: 3.332 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.004177, allocations: 19.73 kB / 271.1 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.423e-05/0.004261, allocations: 35.66 kB / 271.1 MB, free: 3.277 MB / 250.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.0008491/0.00511, allocations: 318.8 kB / 271.4 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.005319, allocations: 223.4 kB / 271.7 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.005447, allocations: 48.55 kB / 271.7 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.005568, allocations: 135.7 kB / 271.8 MB, free: 2.562 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.005928, allocations: 101.1 kB / 271.9 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.005969, allocations: 20 kB / 272 MB, free: 2.453 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004169/0.006386, allocations: 323.2 kB / 272.3 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.006446, allocations: 59.75 kB / 272.3 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.083e-05/0.006517, allocations: 67.8 kB / 272.4 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.007014, allocations: 370.8 kB / 272.8 MB, free: 1.648 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.007016, allocations: 0 / 272.8 MB, free: 1.648 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007017, allocations: 4 kB / 272.8 MB, free: 1.645 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.007022, allocations: 4 kB / 272.8 MB, free: 1.641 MB / 250.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.0008049/0.007827, allocations: 0.6019 MB / 273.4 MB, free: 1 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.007866, allocations: 8.922 kB / 273.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.008049, allocations: 48.78 kB / 273.4 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.008257, allocations: 193.8 kB / 273.6 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.008282, allocations: 20.66 kB / 273.6 MB, free: 0.707 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.008321, allocations: 27.94 kB / 273.7 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.008547, allocations: 130.7 kB / 273.8 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.008554, allocations: 0 / 273.8 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.008569, allocations: 4 kB / 273.8 MB, free: 0.543 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.008578, allocations: 7.938 kB / 273.8 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.008693, allocations: 60.44 kB / 273.9 MB, free: 488 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006603/0.009354, allocations: 0.5111 MB / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004246/0.009778, allocations: 167.1 kB / 274.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.864e-05/0.009867, allocations: 51.7 kB / 274.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.009889, allocations: 7.984 kB / 274.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.01004, allocations: 105 kB / 274.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.01004, allocations: 4 kB / 274.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003211/0.01036, allocations: 189.4 kB / 274.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.0104, allocations: 63.39 kB / 275 MB, free: 15.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.01053, allocations: 237.8 kB / 275.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.01056, allocations: 41.69 kB / 275.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.01064, allocations: 183.3 kB / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.01068, allocations: 75.38 kB / 275.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.546e-05/0.01075, allocations: 75.34 kB / 275.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.01086, allocations: 0.5001 MB / 276.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/0.01094, allocations: 47.97 kB / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.01105, allocations: 91.05 kB / 276.2 MB, free: 14.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.01121, allocations: 145 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01122, allocations: 0 / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002693/0.01149, allocations: 240 kB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.0115, allocations: 6.656 kB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.01151, allocations: 4 kB / 276.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.01152, allocations: 4 kB / 276.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.01172, allocations: 79.88 kB / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.01173, allocations: 0 / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.027e-05/0.01181, allocations: 47.78 kB / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.01182, allocations: 8 kB / 276.7 MB, free: 13.48 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,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.0001013/0.01192, allocations: 184.3 kB / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.01195, allocations: 23.89 kB / 276.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.424e-05/0.01199, allocations: 21.97 kB / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.012, allocations: 0 / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.012, allocations: 4 kB / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.012, allocations: 0 / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004847/0.01249, allocations: 0.5038 MB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01249, allocations: 0 / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.01262, allocations: 43.95 kB / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01262, allocations: 0 / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.01264, allocations: 8 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.01264, allocations: 3.984 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01264, allocations: 4 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.01297, allocations: 356.1 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.01299, allocations: 23.8 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.01301, allocations: 11.98 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.01312, allocations: 19.92 kB / 277.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.01317, allocations: 15.97 kB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.01319, allocations: 4 kB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.785e-05/0.01327, allocations: 171.1 kB / 278.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01327, allocations: 0 / 278.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.01355, allocations: 99.8 kB / 278.2 MB, free: 11.93 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 (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.0004653/0.01401, allocations: 290.8 kB / 278.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002644/0.01428, allocations: 155.7 kB / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01428, allocations: 0 / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.641e-05/0.01436, allocations: 67.56 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.01461, allocations: 31.92 kB / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005313/0.01514, allocations: 390.6 kB / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.567e-05/0.01519, allocations: 75.98 kB / 279.2 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.191e-05/0.01526, allocations: 25.62 kB / 279.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.872e-05/0.01532, allocations: 32.48 kB / 279.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01532, allocations: 4 kB / 279.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of Templates: time 0.005369/0.02069, allocations: 3.742 MB / 283 MB, free: 7.145 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 240] 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","",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.58412129804492]