Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.006825/0.006825, allocations: 102.7 kB / 21.96 MB, free: 5.211 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.001623/0.001623, allocations: 217.5 kB / 25.26 MB, free: 3.141 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.422/1.422, 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.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",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.001792/0.001792, allocations: 51.92 kB / 348 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2769, allocations: 49.16 MB / 397.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.002663/0.2796, allocations: 1.766 MB / 398.9 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.2816, allocations: 1.221 MB / 400.1 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.2817, allocations: 2.219 kB / 400.1 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.2818, allocations: 19.98 kB / 400.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.573e-05/0.2819, allocations: 25.86 kB / 400.2 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.283, allocations: 331.6 kB / 400.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.2832, allocations: 220.6 kB / 400.7 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.2834, allocations: 51.86 kB / 400.8 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.2835, allocations: 100.8 kB / 400.9 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.2836, allocations: 115.9 kB / 401 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.2837, allocations: 21.56 kB / 401 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000613/0.2843, allocations: 336.7 kB / 401.3 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.24e-05/0.2843, allocations: 63.42 kB / 401.4 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.214e-05/0.2844, allocations: 87.33 kB / 401.5 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005981/0.285, allocations: 400.3 kB / 401.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.285, allocations: 0 / 401.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.285, allocations: 0 / 401.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.2851, allocations: 0 / 401.9 MB, free: 6.145 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001078/0.2861, allocations: 0.5038 MB / 402.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2862, allocations: 21.05 kB / 402.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.686e-05/0.2862, allocations: 10.2 kB / 402.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.395e-05/0.2863, allocations: 57.7 kB / 402.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/0.2865, allocations: 39.42 kB / 402.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.2867, allocations: 185.5 kB / 402.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.2867, allocations: 13.77 kB / 402.7 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.361e-05/0.2868, allocations: 27.38 kB / 402.7 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004893/0.2873, allocations: 209.8 kB / 402.9 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.2873, allocations: 1.312 kB / 402.9 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.2873, allocations: 5.656 kB / 402.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2873, allocations: 3.75 kB / 402.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004297/0.2878, allocations: 167.5 kB / 403.1 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009807/0.2887, allocations: 0.5123 MB / 403.6 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.2898, allocations: 323 kB / 403.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.2901, allocations: 122.1 kB / 404 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.2901, allocations: 2.219 kB / 404 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004083/0.2905, allocations: 174.9 kB / 404.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 2.484e-06/0.2905, allocations: 0 / 404.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.002817/0.2933, allocations: 1.034 MB / 405.2 MB, free: 4.355 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.2934, allocations: 62.45 kB / 405.3 MB, free: 4.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.2936, allocations: 205.2 kB / 405.5 MB, free: 4.152 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.2936, allocations: 42.91 kB / 405.6 MB, free: 4.113 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/0.2937, allocations: 131.2 kB / 405.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.814e-05/0.2937, allocations: 117.9 kB / 405.8 MB, free: 3.898 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.2938, allocations: 80.17 kB / 405.9 MB, free: 3.855 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.763e-05/0.2939, allocations: 342.3 kB / 406.2 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/0.2943, allocations: 161.8 kB / 406.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004254/0.2947, allocations: 197.2 kB / 406.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007068/0.2954, allocations: 329.4 kB / 406.9 MB, free: 3.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2954, allocations: 0 / 406.9 MB, free: 3.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009402/0.2964, allocations: 458.4 kB / 407.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2964, allocations: 5.531 kB / 407.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.2964, allocations: 1.188 kB / 407.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.2964, allocations: 3.031 kB / 407.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.2968, allocations: 87.69 kB / 407.4 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2968, allocations: 7 kB / 407.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.297, allocations: 29.23 kB / 407.5 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.297, allocations: 14.66 kB / 407.5 MB, free: 3.109 MB / 318.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 (49): * Single equations (assignments): 48 * 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.000157/0.2972, allocations: 156.5 kB / 407.6 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.2972, allocations: 25.55 kB / 407.7 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.549e-05/0.2973, allocations: 28.78 kB / 407.7 MB, free: 2.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2973, allocations: 8.078 kB / 407.7 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.2973, allocations: 1.719 kB / 407.7 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.2973, allocations: 1.219 kB / 407.7 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.2987, allocations: 0.7337 MB / 408.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2987, allocations: 0 / 408.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/0.2991, allocations: 62.59 kB / 408.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.2991, allocations: 2.406 kB / 408.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.2991, allocations: 8.938 kB / 408.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.2991, allocations: 11.67 kB / 408.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2991, allocations: 4.062 kB / 408.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.3003, allocations: 0.5969 MB / 409.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.3003, allocations: 20.86 kB / 409.1 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/0.3004, allocations: 15.12 kB / 409.1 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.3006, allocations: 21.14 kB / 409.2 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.3006, allocations: 27.05 kB / 409.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.3007, allocations: 17.55 kB / 409.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.3008, allocations: 154.2 kB / 409.4 MB, free: 2.059 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3008, allocations: 5.281 kB / 409.4 MB, free: 2.055 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005688/0.3014, allocations: 110.5 kB / 409.5 MB, free: 2.031 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (29): * Single equations (assignments): 27 * 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.002041/0.3034, allocations: 1.34 MB / 410.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009017/0.3043, allocations: 342.7 kB / 411.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3043, allocations: 0 / 411.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.3047, allocations: 141.3 kB / 411.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.305, allocations: 36.47 kB / 411.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/0.3098, allocations: 3.126 MB / 414.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.3099, allocations: 143.9 kB / 414.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.3101, allocations: 40.83 kB / 414.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.3103, allocations: 92.78 kB / 414.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3103, allocations: 0 / 414.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.3437, allocations: 7.393 MB / 422.1 MB, free: 9.664 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.64, allocations: 3.906 kB / 422.1 MB, free: 9.66 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.044448334025219] Failed to read output from testmodel.py, exit status != 0: ['time', 'mean.mu', 'standardDeviation.variance.mu', 'standardDeviation.variance.var', 'variance.mu', 'variance.var', 'meanError_y', 'sigmaError_y'] 11.802670612931252 11.816489117 11.528495959 Calling exit ...