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.001469/0.001469, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001721/0.001721, allocations: 206.6 kB / 24.47 MB, free: 3.977 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 2.067/2.067, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.001784/0.001784, allocations: 47.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.308, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.004174/0.3122, allocations: 1.813 MB / 434.2 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002927/0.3151, allocations: 1.243 MB / 435.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.3152, allocations: 0 / 435.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.3154, allocations: 19.73 kB / 435.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.3156, allocations: 31.72 kB / 435.4 MB, free: 3.602 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.001079/0.3166, allocations: 327 kB / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.317, allocations: 223.4 kB / 436 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.3172, allocations: 56.34 kB / 436 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.3173, allocations: 103.6 kB / 436.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007158/0.318, allocations: 126.5 kB / 436.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.044e-05/0.3181, allocations: 20 kB / 436.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006708/0.3187, allocations: 323.5 kB / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.206e-05/0.3188, allocations: 63.75 kB / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.3189, allocations: 83.56 kB / 436.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006601/0.3196, allocations: 393.5 kB / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3196, allocations: 0 / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3196, allocations: 0 / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3196, allocations: 4 kB / 437.1 MB, free: 1.922 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.00136/0.321, allocations: 0.5058 MB / 437.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.321, allocations: 15.98 kB / 437.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002712/0.3213, allocations: 36.73 kB / 437.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.3216, allocations: 178.2 kB / 437.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.3217, allocations: 16.59 kB / 437.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.3217, allocations: 32.06 kB / 437.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006106/0.3223, allocations: 197 kB / 438.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3223, allocations: 0 / 438.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.3224, allocations: 8 kB / 438.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3224, allocations: 0 / 438.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006365/0.323, allocations: 160.4 kB / 438.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.3243, allocations: 472.6 kB / 438.7 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.3256, allocations: 286.7 kB / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000402/0.326, allocations: 112.7 kB / 439.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.3261, allocations: 4 kB / 439.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005461/0.3266, allocations: 172.3 kB / 439.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.234e-06/0.3266, allocations: 0 / 439.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001363/0.328, allocations: 349.3 kB / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.328, allocations: 59.41 kB / 439.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.3283, allocations: 207.1 kB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/0.3283, allocations: 37.7 kB / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.3285, allocations: 132.6 kB / 440.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.521e-05/0.3285, allocations: 75.38 kB / 440.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.3287, allocations: 69.67 kB / 440.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3289, allocations: 330.8 kB / 440.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/0.3293, allocations: 135.7 kB / 440.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004958/0.3298, allocations: 177.4 kB / 440.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008574/0.3307, allocations: 263.2 kB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.3307, allocations: 7.938 kB / 441.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001102/0.3318, allocations: 379.8 kB / 441.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.3318, allocations: 8 kB / 441.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.3318, allocations: 0 / 441.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.3318, allocations: 4.031 kB / 441.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.3323, allocations: 71.88 kB / 441.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.3323, allocations: 4 kB / 441.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.3325, allocations: 39.77 kB / 441.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.3325, allocations: 15.98 kB / 441.6 MB, free: 13.27 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.0001996/0.3327, allocations: 149.6 kB / 441.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.3328, allocations: 19.89 kB / 441.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.381e-05/0.3329, allocations: 21.97 kB / 441.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.3329, allocations: 4 kB / 441.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.3329, allocations: 0 / 441.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3329, allocations: 0 / 441.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.3343, allocations: 0.5397 MB / 442.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.3343, allocations: 3.938 kB / 442.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/0.3347, allocations: 43.95 kB / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3347, allocations: 0 / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.3347, allocations: 11.98 kB / 442.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3347, allocations: 0 / 442.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3347, allocations: 0 / 442.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.3361, allocations: 483 kB / 442.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.3361, allocations: 11.91 kB / 442.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/0.3362, allocations: 16.05 kB / 442.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.3364, allocations: 15.98 kB / 442.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.3365, allocations: 19.91 kB / 442.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.3365, allocations: 7.984 kB / 442.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.3366, allocations: 140.3 kB / 443.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3366, allocations: 0 / 443.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006059/0.3373, allocations: 111.6 kB / 443.2 MB, free: 11.63 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.0007943/0.338, allocations: 270.2 kB / 443.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009877/0.339, allocations: 267.7 kB / 443.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.339, allocations: 0 / 443.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.3395, allocations: 115.9 kB / 443.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.3399, allocations: 29.45 kB / 443.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.3411, allocations: 466.3 kB / 444.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.3413, allocations: 137.1 kB / 444.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.3414, allocations: 29.62 kB / 444.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.499e-05/0.3415, allocations: 23.42 kB / 444.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3415, allocations: 0 / 444.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Templates: time 0.01038/0.3519, allocations: 3.808 MB / 448.3 MB, free: 6.531 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 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.234003514997312] Failed to read output from testmodel.py, exit status != 0: ['time', 'meanError_y', 'sigmaError_y', 'mean.y', 'variance.mu', 'variance.var', 'standardDeviation.variance.mu', 'standardDeviation.variance.var'] 0.3863481880107429 0.379502999 0.056048114 Calling exit ...