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.001329/0.001329, allocations: 81.97 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001359/0.001359, allocations: 151.1 kB / 23.94 MB, free: 4.164 MB / 14.72 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 1.537/1.537, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] 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.843e-06/1.843e-06, allocations: 0 / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.136e-05, allocations: 2.281 kB / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003031/0.003062, allocations: 1.779 MB / 320.7 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.005343, allocations: 1.189 MB / 321.9 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.005453, allocations: 6.156 kB / 321.9 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.00559, allocations: 23.83 kB / 321.9 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.005697, allocations: 30.53 kB / 322 MB, free: 1.523 MB / 286.1 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.001134/0.00683, allocations: 319.5 kB / 322.3 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003139/0.007144, allocations: 225.8 kB / 322.5 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.007324, allocations: 53.8 kB / 322.5 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.007509, allocations: 128.5 kB / 322.7 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006747/0.008183, allocations: 107.1 kB / 322.8 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.205e-05/0.008245, allocations: 23.59 kB / 322.8 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006658/0.008911, allocations: 320.4 kB / 323.1 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.163e-05/0.009003, allocations: 63.81 kB / 323.2 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.009118, allocations: 65.23 kB / 323.2 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008072/0.009925, allocations: 433.6 kB / 323.7 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.009932, allocations: 4 kB / 323.7 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.009934, allocations: 0 / 323.7 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.009942, allocations: 3.938 kB / 323.7 MB, free: 0.7969 MB / 286.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.00115/0.01109, allocations: 0.501 MB / 324.2 MB, free: 416 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.01113, allocations: 9.422 kB / 324.2 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.01136, allocations: 38.7 kB / 324.2 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.0116, allocations: 179.8 kB / 324.4 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.01164, allocations: 18.05 kB / 324.4 MB, free: 224 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.01169, allocations: 21.38 kB / 324.4 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004925/0.01218, allocations: 199.8 kB / 324.6 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.01219, allocations: 1.188 kB / 324.6 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.01222, allocations: 5.094 kB / 324.6 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.01222, allocations: 3.5 kB / 324.6 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.01269, allocations: 148.9 kB / 324.8 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.01379, allocations: 478.3 kB / 325.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.01498, allocations: 293.2 kB / 325.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.01531, allocations: 118.2 kB / 325.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.01534, allocations: 7.172 kB / 325.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000453/0.01579, allocations: 158.6 kB / 325.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 2.424e-06/0.01579, allocations: 0 / 325.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.00115/0.01694, allocations: 353.4 kB / 326.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.017, allocations: 57.72 kB / 326.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.01725, allocations: 195.9 kB / 326.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/0.0173, allocations: 41.36 kB / 326.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.01742, allocations: 129.3 kB / 326.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/0.01751, allocations: 82.38 kB / 326.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.01764, allocations: 64.62 kB / 326.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.01783, allocations: 330.6 kB / 327 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/0.01822, allocations: 128 kB / 327.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.01863, allocations: 160.5 kB / 327.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/0.01934, allocations: 274.6 kB / 327.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01935, allocations: 0 / 327.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009141/0.02026, allocations: 372 kB / 328 MB, free: 14.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.02028, allocations: 9.438 kB / 328 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.02029, allocations: 1.938 kB / 328 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.02031, allocations: 2.219 kB / 328 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.02065, allocations: 74.81 kB / 328 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.02066, allocations: 1.062 kB / 328 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.02084, allocations: 41.2 kB / 328.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.02088, allocations: 13.5 kB / 328.1 MB, free: 14.33 MB / 302.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.0001926/0.02107, allocations: 150 kB / 328.2 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.02111, allocations: 15.97 kB / 328.3 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.658e-05/0.02117, allocations: 18.75 kB / 328.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.02118, allocations: 6.5 kB / 328.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.02119, allocations: 0 / 328.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.02119, allocations: 2.688 kB / 328.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.02248, allocations: 0.5509 MB / 328.8 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.02248, allocations: 0.5625 kB / 328.8 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.02273, allocations: 45.8 kB / 328.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.02274, allocations: 2.172 kB / 328.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.02276, allocations: 6.516 kB / 328.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/0.02277, allocations: 9.984 kB / 328.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.02277, allocations: 0 / 328.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.02391, allocations: 487.8 kB / 329.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.02395, allocations: 18.12 kB / 329.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/0.024, allocations: 13.86 kB / 329.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.02418, allocations: 20.45 kB / 329.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.02424, allocations: 17.72 kB / 329.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.02426, allocations: 6.25 kB / 329.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.0244, allocations: 136.2 kB / 329.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 6e-08/0.0244, allocations: 1.094 kB / 329.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005671/0.02497, allocations: 103.6 kB / 329.7 MB, free: 13.43 MB / 302.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 (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.0007571/0.02572, allocations: 277.5 kB / 330 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009354/0.02666, allocations: 265.7 kB / 330.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.02666, allocations: 0 / 330.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003814/0.02704, allocations: 108 kB / 330.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.02743, allocations: 28.84 kB / 330.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.02871, allocations: 426.4 kB / 330.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.0289, allocations: 133.2 kB / 330.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.02904, allocations: 29.92 kB / 330.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.02914, allocations: 26.95 kB / 331 MB, free: 12.82 MB / 302.1 MB Notification: Performance of SimCode: time 6.62e-07/0.02914, allocations: 1.031 kB / 331 MB, free: 12.82 MB / 302.1 MB Notification: Performance of Templates: time 0.009674/0.03882, allocations: 3.671 MB / 334.6 MB, free: 10.96 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.50606381893158]