Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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: 99.62 kB / 21.95 MB, free: 5.219 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.00147/0.00147, allocations: 214 kB / 25.26 MB, free: 3.129 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.39/1.39, allocations: 207.7 MB / 236.1 MB, free: 9.793 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.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",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.001718/0.001718, allocations: 47.92 kB / 348 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2522, allocations: 49.16 MB / 397.1 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.00264/0.2549, allocations: 1.782 MB / 398.9 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.2565, allocations: 0.9677 MB / 399.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.337e-05/0.2566, allocations: 1.188 kB / 399.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.2567, allocations: 19.03 kB / 399.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.2569, allocations: 36.23 kB / 399.9 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005532/0.2575, allocations: 203.4 kB / 400.1 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.2577, allocations: 223.1 kB / 400.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.2579, allocations: 54.69 kB / 400.4 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.258, allocations: 97.16 kB / 400.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.2581, allocations: 116.3 kB / 400.6 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.337e-05/0.2582, allocations: 21.44 kB / 400.6 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.2585, allocations: 173 kB / 400.8 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.979e-05/0.2585, allocations: 60.86 kB / 400.9 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.052e-05/0.2586, allocations: 85.36 kB / 401 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004199/0.2591, allocations: 322.5 kB / 401.3 MB, free: 6.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2591, allocations: 0 / 401.3 MB, free: 6.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2591, allocations: 1.094 kB / 401.3 MB, free: 6.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.2591, allocations: 0 / 401.3 MB, free: 6.57 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.001015/0.2601, allocations: 490.7 kB / 401.8 MB, free: 6.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.2601, allocations: 17.95 kB / 401.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.503e-05/0.2602, allocations: 12.66 kB / 401.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.48e-05/0.2602, allocations: 55.08 kB / 401.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.2604, allocations: 36.16 kB / 401.9 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.2606, allocations: 190.1 kB / 402.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.2606, allocations: 18.22 kB / 402.1 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.2607, allocations: 23.3 kB / 402.1 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000467/0.2611, allocations: 209.3 kB / 402.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2611, allocations: 0 / 402.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.2612, allocations: 10.2 kB / 402.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.2612, allocations: 4.531 kB / 402.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.2616, allocations: 160.7 kB / 402.5 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009093/0.2625, allocations: 0.511 MB / 403 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009873/0.2635, allocations: 318.8 kB / 403.3 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.2638, allocations: 117.8 kB / 403.4 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.2638, allocations: 6.25 kB / 403.4 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003802/0.2642, allocations: 185.8 kB / 403.6 MB, free: 5.234 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 2.064e-06/0.2642, allocations: 3.984 kB / 403.6 MB, free: 5.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.002654/0.2668, allocations: 1.025 MB / 404.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.2669, allocations: 59.58 kB / 404.7 MB, free: 4.742 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.2671, allocations: 205.1 kB / 404.9 MB, free: 4.605 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.2671, allocations: 42.53 kB / 404.9 MB, free: 4.566 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.2672, allocations: 127.5 kB / 405.1 MB, free: 4.449 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.582e-05/0.2672, allocations: 122.9 kB / 405.2 MB, free: 4.352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.2673, allocations: 76.19 kB / 405.2 MB, free: 4.312 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.577e-05/0.2674, allocations: 341.2 kB / 405.6 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/0.2678, allocations: 166.5 kB / 405.7 MB, free: 3.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.2682, allocations: 197.8 kB / 405.9 MB, free: 3.867 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.2689, allocations: 328.5 kB / 406.3 MB, free: 3.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2689, allocations: 1.375 kB / 406.3 MB, free: 3.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000867/0.2697, allocations: 448.2 kB / 406.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2698, allocations: 6.625 kB / 406.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2698, allocations: 0.7031 kB / 406.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2698, allocations: 2.5 kB / 406.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003756/0.2702, allocations: 91.42 kB / 406.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2702, allocations: 5.469 kB / 406.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.2703, allocations: 31.16 kB / 406.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.2704, allocations: 10 kB / 406.8 MB, free: 3.57 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.0001254/0.2705, allocations: 160.7 kB / 407 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.2705, allocations: 25.19 kB / 407 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.478e-05/0.2706, allocations: 29.86 kB / 407.1 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.2706, allocations: 6.5 kB / 407.1 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.2706, allocations: 5.703 kB / 407.1 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2706, allocations: 1.453 kB / 407.1 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.272, allocations: 0.732 MB / 407.8 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.272, allocations: 2.969 kB / 407.8 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.2724, allocations: 66.05 kB / 407.9 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.2724, allocations: 1.375 kB / 407.9 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.2724, allocations: 10.03 kB / 407.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.2724, allocations: 1.125 kB / 407.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2724, allocations: 5.188 kB / 407.9 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.2737, allocations: 0.5956 MB / 408.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.2737, allocations: 24.28 kB / 408.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.2738, allocations: 11.75 kB / 408.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.274, allocations: 25.47 kB / 408.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/0.2741, allocations: 22.69 kB / 408.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.2741, allocations: 18.05 kB / 408.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.2743, allocations: 151 kB / 408.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2743, allocations: 4 kB / 408.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004822/0.2747, allocations: 76.38 kB / 408.8 MB, free: 2.5 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.001991/0.2767, allocations: 1.28 MB / 410.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.2778, allocations: 341.8 kB / 410.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2778, allocations: 0 / 410.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004054/0.2782, allocations: 148.7 kB / 410.6 MB, free: 1.469 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.2786, allocations: 31.12 kB / 410.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004882/0.2835, allocations: 3.115 MB / 413.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.2837, allocations: 147.4 kB / 413.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002141/0.2839, allocations: 41.02 kB / 413.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.2841, allocations: 84.58 kB / 414 MB, free: 15.09 MB / 334.1 MB Notification: Performance of SimCode: time 1.533e-06/0.2841, allocations: 0 / 414 MB, free: 15.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.314, allocations: 6.669 MB / 420.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.53, allocations: 3.906 kB / 420.6 MB, free: 11.25 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.908234498929232] 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.694263987941667 11.70947946 11.447254288 Calling exit ...