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.001276/0.001276, allocations: 121 kB / 18.5 MB, free: 4.562 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.00145/0.00145, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.416/1.416, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.001442/0.001442, allocations: 51.92 kB / 373.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09756/0.099, allocations: 53.33 MB / 427 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002821/0.1018, allocations: 1.547 MB / 428.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002495/0.1043, allocations: 1.496 MB / 430.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.649e-05/0.1044, allocations: 0 / 430.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.1045, allocations: 23.8 kB / 430.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.646e-05/0.1046, allocations: 23.8 kB / 430.1 MB, free: 1.758 MB / 350.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.0009681/0.1055, allocations: 386.8 kB / 430.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.1057, allocations: 131.6 kB / 430.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.1058, allocations: 9.484 kB / 430.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.628e-05/0.1058, allocations: 55.78 kB / 430.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005595/0.1064, allocations: 96.12 kB / 430.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.1064, allocations: 12 kB / 430.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006395/0.107, allocations: 431.2 kB / 431.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/0.1071, allocations: 39.78 kB / 431.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.103e-05/0.1072, allocations: 59.66 kB / 431.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005641/0.1077, allocations: 402.7 kB / 431.7 MB, free: 168 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1077, allocations: 0 / 431.7 MB, free: 168 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1077, allocations: 0 / 431.7 MB, free: 168 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.1078, allocations: 0 / 431.7 MB, free: 168 kB / 350.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.1717/0.2795, allocations: 0.5248 MB / 432.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.2795, allocations: 10.38 kB / 432.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.81e-05/0.2796, allocations: 8.688 kB / 432.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.213e-05/0.2796, allocations: 41.16 kB / 432.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.2798, allocations: 34.5 kB / 432.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.28, allocations: 206.4 kB / 432.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.28, allocations: 5.219 kB / 432.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.28, allocations: 16.17 kB / 432.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.2803, allocations: 141.7 kB / 432.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2803, allocations: 1.219 kB / 432.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2803, allocations: 2.625 kB / 432.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2803, allocations: 2.031 kB / 432.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/0.2805, allocations: 77.42 kB / 432.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006665/0.2812, allocations: 0.5698 MB / 433.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.2815, allocations: 162.6 kB / 433.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.2817, allocations: 70.12 kB / 433.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.2817, allocations: 3.969 kB / 433.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002755/0.282, allocations: 169.5 kB / 433.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.282, allocations: 0 / 433.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009472/0.2829, allocations: 438.4 kB / 434.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.283, allocations: 123.5 kB / 434.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.2831, allocations: 196.6 kB / 434.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.2831, allocations: 52.72 kB / 434.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.2832, allocations: 111.1 kB / 434.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.2832, allocations: 61.64 kB / 434.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.355e-05/0.2833, allocations: 67.75 kB / 434.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.267e-05/0.2833, allocations: 335.5 kB / 435.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.2835, allocations: 105.2 kB / 435.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.2838, allocations: 163.1 kB / 435.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.2841, allocations: 252.1 kB / 435.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2841, allocations: 1.625 kB / 435.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005195/0.2847, allocations: 340.9 kB / 435.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2847, allocations: 6.578 kB / 435.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2847, allocations: 1.156 kB / 435.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.2847, allocations: 3.812 kB / 435.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.2849, allocations: 45.38 kB / 436 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.2849, allocations: 5.812 kB / 436 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.622e-05/0.285, allocations: 14.11 kB / 436 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.285, allocations: 9.531 kB / 436 MB, free: 9.082 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.0001103/0.2851, allocations: 156.5 kB / 436.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.2851, allocations: 20.42 kB / 436.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.487e-05/0.2852, allocations: 22.69 kB / 436.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.2852, allocations: 9.359 kB / 436.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2852, allocations: 1.406 kB / 436.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2852, allocations: 4.703 kB / 436.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000673/0.2858, allocations: 0.6458 MB / 436.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2859, allocations: 2.062 kB / 436.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.678e-05/0.2859, allocations: 22.61 kB / 436.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.2859, allocations: 2.25 kB / 436.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.2859, allocations: 7.234 kB / 436.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.286, allocations: 3.391 kB / 436.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.286, allocations: 9.094 kB / 436.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004386/0.2864, allocations: 426.5 kB / 437.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.2864, allocations: 105.8 kB / 437.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.2865, allocations: 9.766 kB / 437.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.2866, allocations: 11.39 kB / 437.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.2867, allocations: 19.19 kB / 437.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.2867, allocations: 10.81 kB / 437.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.353e-05/0.2868, allocations: 144.4 kB / 437.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2868, allocations: 0 / 437.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005179/0.2873, allocations: 126.2 kB / 437.7 MB, free: 8.027 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.001367/0.2887, allocations: 1.27 MB / 439 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004739/0.2891, allocations: 209.5 kB / 439.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2891, allocations: 1.219 kB / 439.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.2893, allocations: 77.47 kB / 439.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.2896, allocations: 22.06 kB / 439.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.2924, allocations: 2.62 MB / 441.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.2926, allocations: 0.7286 MB / 442.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.831e-05/0.2926, allocations: 25.48 kB / 442.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.86e-05/0.2927, allocations: 56.45 kB / 442.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2927, allocations: 0 / 442.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.3162, allocations: 5.876 MB / 448.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.661/8.977, allocations: 7.031 kB / 448.6 MB, free: 3.637 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.30654494301416] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise_y', 'truncatedNormalNoise_y'] 9.102028721012175 9.116972983 9.005992 Calling exit ...