Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.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.001309/0.001309, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001468/0.001468, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.36/1.36, allocations: 230.6 MB / 258.3 MB, free: 7.812 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Distributions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Distributions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 51.91 kB / 378.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.232, allocations: 53.36 MB / 431.9 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002651/0.2346, allocations: 1.516 MB / 433.4 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.2371, allocations: 1.395 MB / 434.8 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.262e-05/0.2371, allocations: 0 / 434.8 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.145e-05/0.2372, allocations: 7.875 kB / 434.8 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.957e-05/0.2373, allocations: 31.73 kB / 434.8 MB, free: 3.707 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.000969/0.2383, allocations: 402.8 kB / 435.2 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.2384, allocations: 131.6 kB / 435.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.2385, allocations: 5.688 kB / 435.3 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.422e-05/0.2386, allocations: 59.77 kB / 435.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005768/0.2391, allocations: 96.91 kB / 435.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.2392, allocations: 12 kB / 435.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006962/0.2399, allocations: 451.2 kB / 435.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.709e-05/0.2399, allocations: 47.78 kB / 436 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.281e-05/0.24, allocations: 47.72 kB / 436 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006018/0.2406, allocations: 409 kB / 436.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2406, allocations: 4 kB / 436.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2406, allocations: 0 / 436.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.2406, allocations: 0 / 436.4 MB, free: 2.074 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007757/0.2414, allocations: 452.7 kB / 436.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2414, allocations: 16.02 kB / 436.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.861e-05/0.2414, allocations: 192 / 436.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.436e-05/0.2415, allocations: 46.67 kB / 436.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.2417, allocations: 32.78 kB / 437 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.2419, allocations: 152 kB / 437.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.2419, allocations: 16.06 kB / 437.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.242, allocations: 8 kB / 437.2 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.2422, allocations: 136.1 kB / 437.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.2422, allocations: 3.984 kB / 437.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.2423, allocations: 4 kB / 437.3 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2423, allocations: 4 kB / 437.3 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002083/0.2425, allocations: 67.89 kB / 437.4 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008371/0.2433, allocations: 0.5273 MB / 437.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.2437, allocations: 159.9 kB / 438 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.2438, allocations: 70.58 kB / 438.1 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.2438, allocations: 0 / 438.1 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.2441, allocations: 171.8 kB / 438.3 MB, free: 52 kB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.2441, allocations: 0 / 438.3 MB, free: 52 kB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001015/0.2452, allocations: 445.4 kB / 438.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.173e-05/0.2452, allocations: 122.7 kB / 438.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.2454, allocations: 203.2 kB / 439 MB, free: 15.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/0.2455, allocations: 37.7 kB / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.2456, allocations: 116.8 kB / 439.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.987e-05/0.2456, allocations: 67.52 kB / 439.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.962e-05/0.2457, allocations: 65.69 kB / 439.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2459, allocations: 330.8 kB / 439.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.2461, allocations: 111.7 kB / 439.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.2463, allocations: 153.3 kB / 439.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004325/0.2468, allocations: 260.1 kB / 440.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2468, allocations: 0 / 440.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005839/0.2474, allocations: 339.5 kB / 440.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2474, allocations: 11.94 kB / 440.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.2474, allocations: 160 / 440.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2474, allocations: 8 kB / 440.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.2476, allocations: 40.05 kB / 440.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.2476, allocations: 7.938 kB / 440.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.09e-05/0.2477, allocations: 11.98 kB / 440.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.2477, allocations: 12 kB / 440.6 MB, free: 13.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1],uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 2 * 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.0001541/0.2479, allocations: 157.7 kB / 440.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.2479, allocations: 23.8 kB / 440.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/0.2479, allocations: 25.39 kB / 440.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.2479, allocations: 4 kB / 440.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2479, allocations: 0 / 440.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.248, allocations: 0 / 440.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008454/0.2488, allocations: 0.5976 MB / 441.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.247e-06/0.2488, allocations: 4 kB / 441.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.026e-05/0.2489, allocations: 23.92 kB / 441.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2489, allocations: 4.125 kB / 441.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.2489, allocations: 8.188 kB / 441.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.2489, allocations: 8.141 kB / 441.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2489, allocations: 3.938 kB / 441.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005036/0.2494, allocations: 428.3 kB / 441.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.2494, allocations: 23.84 kB / 441.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.2495, allocations: 12 kB / 441.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.2496, allocations: 7.984 kB / 441.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.2497, allocations: 27.91 kB / 441.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.2497, allocations: 12 kB / 441.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.2498, allocations: 139.2 kB / 442.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2498, allocations: 0 / 442.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005367/0.2504, allocations: 127.6 kB / 442.2 MB, free: 11.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 (n,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001644/0.252, allocations: 1.273 MB / 443.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004666/0.2525, allocations: 220.4 kB / 443.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2525, allocations: 0 / 443.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.2527, allocations: 79.83 kB / 443.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.253, allocations: 19.45 kB / 443.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.2562, allocations: 2.624 MB / 446.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.2563, allocations: 116.1 kB / 446.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.79e-05/0.2564, allocations: 25.47 kB / 446.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.123e-05/0.2565, allocations: 47.42 kB / 446.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2565, allocations: 4 kB / 446.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.2838, allocations: 6.156 MB / 452.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.09, allocations: 4.062 kB / 452.7 MB, free: 1.375 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Distributions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Distributions.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.32136584201362] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise_y', 'truncatedNormalNoise_y'] 11.248255016980693 11.262436849 11.019036925 Calling exit ...