Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.005713/0.005713, allocations: 99.95 kB / 21.96 MB, free: 5.203 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.001326/0.001326, allocations: 217.5 kB / 25.26 MB, free: 3.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 58.56 kB / 348 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2681, allocations: 49.16 MB / 397.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.00267/0.2708, allocations: 1.502 MB / 398.6 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.2729, allocations: 1.365 MB / 400 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/0.273, allocations: 0 / 400 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.008e-05/0.2731, allocations: 9.844 kB / 400 MB, free: 7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.147e-05/0.2732, allocations: 30.53 kB / 400 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.2742, allocations: 402.9 kB / 400.4 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.2744, allocations: 134.5 kB / 400.6 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.012e-05/0.2745, allocations: 6.625 kB / 400.6 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.954e-05/0.2745, allocations: 62.41 kB / 400.6 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.126e-05/0.2746, allocations: 68.28 kB / 400.7 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.2746, allocations: 11.69 kB / 400.7 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007575/0.2754, allocations: 465.6 kB / 401.2 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.2755, allocations: 35.38 kB / 401.2 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.371e-05/0.2755, allocations: 49.11 kB / 401.3 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006127/0.2761, allocations: 417.8 kB / 401.7 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2761, allocations: 0 / 401.7 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2761, allocations: 5.312 kB / 401.7 MB, free: 6.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.2762, allocations: 4.547 kB / 401.7 MB, free: 6.324 MB / 318.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.0006669/0.2768, allocations: 452.7 kB / 402.1 MB, free: 5.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2769, allocations: 14.17 kB / 402.1 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.403e-05/0.2769, allocations: 6 kB / 402.1 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.362e-05/0.2769, allocations: 41.08 kB / 402.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.2772, allocations: 37.78 kB / 402.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.2773, allocations: 154.2 kB / 402.4 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.2773, allocations: 11.91 kB / 402.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.2773, allocations: 15.55 kB / 402.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.2776, allocations: 142.6 kB / 402.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2776, allocations: 1.281 kB / 402.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.2776, allocations: 0 / 402.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2776, allocations: 2.594 kB / 402.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.2778, allocations: 74.02 kB / 402.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006944/0.2785, allocations: 0.5238 MB / 403.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.2788, allocations: 160 kB / 403.3 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.279, allocations: 76.23 kB / 403.4 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.279, allocations: 2.188 kB / 403.4 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000342/0.2793, allocations: 158.3 kB / 403.5 MB, free: 4.914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.432e-06/0.2793, allocations: 4 kB / 403.5 MB, free: 4.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009536/0.2803, allocations: 443.8 kB / 403.9 MB, free: 4.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.2803, allocations: 120.1 kB / 404.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.2805, allocations: 199.7 kB / 404.3 MB, free: 4.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.2805, allocations: 47.44 kB / 404.3 MB, free: 4.422 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.2806, allocations: 113 kB / 404.4 MB, free: 4.316 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.2806, allocations: 70.08 kB / 404.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.171e-05/0.2807, allocations: 63.55 kB / 404.5 MB, free: 4.227 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.2808, allocations: 331.2 kB / 404.9 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.281, allocations: 117.4 kB / 405 MB, free: 3.867 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.2812, allocations: 153.6 kB / 405.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.2816, allocations: 264.9 kB / 405.4 MB, free: 3.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2816, allocations: 2.375 kB / 405.4 MB, free: 3.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005362/0.2821, allocations: 339.5 kB / 405.7 MB, free: 3.527 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2821, allocations: 7.391 kB / 405.7 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2821, allocations: 1.234 kB / 405.7 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2821, allocations: 11 kB / 405.7 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.2823, allocations: 45.72 kB / 405.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.2823, allocations: 7.25 kB / 405.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.973e-05/0.2824, allocations: 11.75 kB / 405.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.2824, allocations: 8.812 kB / 405.8 MB, free: 3.504 MB / 318.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.0001107/0.2826, allocations: 152.6 kB / 406 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.2826, allocations: 19.56 kB / 406 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.2826, allocations: 23.48 kB / 406 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2826, allocations: 6.75 kB / 406 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.2826, allocations: 1.375 kB / 406 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2826, allocations: 5.062 kB / 406 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007116/0.2834, allocations: 0.6065 MB / 406.6 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2834, allocations: 5.312 kB / 406.6 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.705e-05/0.2834, allocations: 21.2 kB / 406.7 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2834, allocations: 6.5 kB / 406.7 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.2835, allocations: 3.734 kB / 406.7 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.2835, allocations: 7.797 kB / 406.7 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2835, allocations: 2.188 kB / 406.7 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.2839, allocations: 428.8 kB / 407.1 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.2839, allocations: 20.27 kB / 407.1 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.2839, allocations: 17.53 kB / 407.1 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.2841, allocations: 9.547 kB / 407.1 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/0.2841, allocations: 30.8 kB / 407.2 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.2841, allocations: 6.75 kB / 407.2 MB, free: 2.504 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.775e-05/0.2842, allocations: 146.3 kB / 407.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2842, allocations: 0 / 407.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000641/0.2849, allocations: 137 kB / 407.5 MB, free: 2.363 MB / 318.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.001437/0.2863, allocations: 1.275 MB / 408.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004622/0.2868, allocations: 212.8 kB / 408.9 MB, free: 1.324 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2868, allocations: 0 / 408.9 MB, free: 1.324 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.287, allocations: 82.45 kB / 409 MB, free: 1.297 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.2873, allocations: 27.11 kB / 409 MB, free: 1.277 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.2902, allocations: 2.629 MB / 411.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.2903, allocations: 113.5 kB / 411.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.094e-05/0.2904, allocations: 28.62 kB / 411.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.2905, allocations: 51.78 kB / 411.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2905, allocations: 0 / 411.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.3198, allocations: 6.226 MB / 418.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.36, allocations: 18.19 kB / 418.1 MB, free: 12.21 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.676433034939691] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise_y', 'truncatedNormalNoise_y'] 11.52246163203381 11.536715361 11.257641818 Calling exit ...