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.006236/0.006236, allocations: 114.5 kB / 21.97 MB, free: 5.25 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.001734/0.001734, allocations: 206.4 kB / 25.27 MB, free: 3.238 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.347/1.347, allocations: 207.6 MB / 236.1 MB, free: 9.973 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.001603/0.001603, allocations: 47.94 kB / 348 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2323, allocations: 49.16 MB / 397.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.002526/0.2349, allocations: 1.847 MB / 399 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.2363, allocations: 1.029 MB / 400 MB, free: 7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.118e-05/0.2364, allocations: 6.25 kB / 400 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.2365, allocations: 19.22 kB / 400 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.2367, allocations: 28.27 kB / 400.1 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.2372, allocations: 206.1 kB / 400.3 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.2374, allocations: 226.7 kB / 400.5 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.2375, allocations: 52.3 kB / 400.5 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.979e-05/0.2376, allocations: 100.1 kB / 400.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.2378, allocations: 123.4 kB / 400.8 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.2378, allocations: 21.88 kB / 400.8 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000288/0.2381, allocations: 173.5 kB / 401 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.2381, allocations: 56.27 kB / 401 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.335e-05/0.2382, allocations: 102.1 kB / 401.1 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.2386, allocations: 312.7 kB / 401.4 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2386, allocations: 1.031 kB / 401.4 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2386, allocations: 0 / 401.4 MB, free: 6.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.2386, allocations: 4.656 kB / 401.4 MB, free: 6.32 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.001023/0.2397, allocations: 498.4 kB / 401.9 MB, free: 5.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2397, allocations: 14.36 kB / 401.9 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.923e-05/0.2397, allocations: 17.09 kB / 401.9 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.148e-05/0.2398, allocations: 54.2 kB / 402 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.24, allocations: 36.66 kB / 402 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.2402, allocations: 186.1 kB / 402.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.2402, allocations: 16.69 kB / 402.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.2403, allocations: 27.42 kB / 402.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.2407, allocations: 217.4 kB / 402.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2407, allocations: 0.8438 kB / 402.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.2408, allocations: 6.156 kB / 402.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2408, allocations: 3.438 kB / 402.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004401/0.2412, allocations: 157.8 kB / 402.6 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009019/0.2421, allocations: 0.5595 MB / 403.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009966/0.2431, allocations: 314.9 kB / 403.5 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.2434, allocations: 131.4 kB / 403.6 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.2434, allocations: 6.406 kB / 403.6 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003506/0.2438, allocations: 171.8 kB / 403.8 MB, free: 4.965 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.2438, allocations: 4 kB / 403.8 MB, free: 4.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.0027/0.2465, allocations: 1.014 MB / 404.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.2465, allocations: 63.41 kB / 404.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.2467, allocations: 209.2 kB / 405.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.2467, allocations: 41.58 kB / 405.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.2468, allocations: 131.5 kB / 405.3 MB, free: 4.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.598e-05/0.2469, allocations: 114.4 kB / 405.4 MB, free: 4.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.247, allocations: 84.05 kB / 405.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.856e-05/0.247, allocations: 341.8 kB / 405.8 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/0.2475, allocations: 161.1 kB / 405.9 MB, free: 3.672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.2479, allocations: 201.5 kB / 406.1 MB, free: 3.598 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/0.2486, allocations: 333 kB / 406.5 MB, free: 3.477 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2486, allocations: 0 / 406.5 MB, free: 3.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009159/0.2495, allocations: 448.7 kB / 406.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.2495, allocations: 6.859 kB / 406.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2495, allocations: 0 / 406.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.2495, allocations: 1.875 kB / 406.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.2499, allocations: 99.53 kB / 407 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.2499, allocations: 2.5 kB / 407 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.2501, allocations: 26.3 kB / 407 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.2501, allocations: 15.06 kB / 407 MB, free: 3.293 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.0001338/0.2503, allocations: 155.7 kB / 407.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.2503, allocations: 21.73 kB / 407.2 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.74e-05/0.2504, allocations: 29.56 kB / 407.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2504, allocations: 2.719 kB / 407.3 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.2504, allocations: 1.375 kB / 407.3 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2504, allocations: 2.203 kB / 407.3 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.2518, allocations: 0.7698 MB / 408 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2518, allocations: 1.375 kB / 408 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.2521, allocations: 77.89 kB / 408.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2521, allocations: 2.922 kB / 408.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.2521, allocations: 9.016 kB / 408.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2521, allocations: 1.938 kB / 408.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2521, allocations: 1.375 kB / 408.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.2532, allocations: 0.6057 MB / 408.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.2533, allocations: 20.61 kB / 408.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.2533, allocations: 10 kB / 408.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.2535, allocations: 27.38 kB / 408.8 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.2536, allocations: 21.81 kB / 408.8 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.2536, allocations: 8.359 kB / 408.8 MB, free: 2.336 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.2537, allocations: 152.8 kB / 409 MB, free: 2.238 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2537, allocations: 4 kB / 409 MB, free: 2.234 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003993/0.2541, allocations: 75.94 kB / 409 MB, free: 2.219 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.001687/0.2558, allocations: 1.268 MB / 410.3 MB, free: 1.309 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008648/0.2567, allocations: 345.2 kB / 410.6 MB, free: 1.227 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2567, allocations: 0 / 410.6 MB, free: 1.227 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.257, allocations: 152.4 kB / 410.8 MB, free: 1.188 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.2574, allocations: 27.88 kB / 410.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.2618, allocations: 3.114 MB / 413.9 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.2622, allocations: 0.7627 MB / 414.7 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.2624, allocations: 41.17 kB / 414.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.2626, allocations: 76.47 kB / 414.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2626, allocations: 0 / 414.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03269/0.2953, allocations: 6.578 MB / 421.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.74, allocations: 15.86 kB / 421.4 MB, free: 10.54 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: 14.081104589975439] 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.90523082704749 11.922454396 11.680374798 Calling exit ...