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.005543/0.005543, allocations: 110.8 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.001571/0.001571, allocations: 206.5 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.309/1.309, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 179] 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.001659/0.001659, allocations: 51.92 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2376, allocations: 49.16 MB / 397.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.002449/0.24, allocations: 1.851 MB / 399 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.2419, allocations: 1.316 MB / 400.3 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.297e-05/0.2419, allocations: 1.344 kB / 400.3 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.2421, allocations: 18.52 kB / 400.3 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.861e-05/0.2421, allocations: 26.44 kB / 400.4 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008301/0.243, allocations: 334.9 kB / 400.7 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.2432, allocations: 213.6 kB / 400.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.2433, allocations: 55.09 kB / 400.9 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.843e-05/0.2434, allocations: 95.61 kB / 401 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.2435, allocations: 118 kB / 401.2 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.2436, allocations: 21.81 kB / 401.2 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005057/0.2441, allocations: 343.1 kB / 401.5 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.977e-05/0.2441, allocations: 60.14 kB / 401.6 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.017e-05/0.2442, allocations: 98.7 kB / 401.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000475/0.2447, allocations: 402.6 kB / 402.1 MB, free: 6.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2447, allocations: 4 kB / 402.1 MB, free: 6.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2447, allocations: 0 / 402.1 MB, free: 6.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.2447, allocations: 0.75 kB / 402.1 MB, free: 6.039 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.0009346/0.2457, allocations: 0.5051 MB / 402.6 MB, free: 5.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2457, allocations: 13.2 kB / 402.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.155e-05/0.2457, allocations: 15.42 kB / 402.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.643e-05/0.2458, allocations: 54.41 kB / 402.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.246, allocations: 37.73 kB / 402.7 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.2462, allocations: 187.8 kB / 402.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.2462, allocations: 18.28 kB / 402.9 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.2462, allocations: 30.39 kB / 402.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.2467, allocations: 208.2 kB / 403.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.2467, allocations: 1.844 kB / 403.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.2467, allocations: 5.344 kB / 403.1 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.2467, allocations: 5.094 kB / 403.1 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004283/0.2471, allocations: 157.8 kB / 403.3 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008732/0.248, allocations: 0.5538 MB / 403.8 MB, free: 4.891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009734/0.249, allocations: 319.5 kB / 404.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.2493, allocations: 126 kB / 404.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.2493, allocations: 2.188 kB / 404.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003711/0.2496, allocations: 177.1 kB / 404.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.552e-06/0.2496, allocations: 1.031 kB / 404.5 MB, free: 4.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.002575/0.2522, allocations: 1.031 MB / 405.5 MB, free: 4.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.2523, allocations: 66.55 kB / 405.5 MB, free: 4.176 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.2524, allocations: 213.3 kB / 405.8 MB, free: 4.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.2524, allocations: 37.53 kB / 405.8 MB, free: 3.996 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.2525, allocations: 131.1 kB / 405.9 MB, free: 3.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/0.2526, allocations: 122.5 kB / 406 MB, free: 3.777 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.2527, allocations: 81.11 kB / 406.1 MB, free: 3.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.2527, allocations: 337.9 kB / 406.4 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.2531, allocations: 161.4 kB / 406.6 MB, free: 3.367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.2535, allocations: 197.4 kB / 406.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006857/0.2542, allocations: 332.1 kB / 407.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.2542, allocations: 0 / 407.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008539/0.255, allocations: 450 kB / 407.6 MB, free: 3.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2551, allocations: 6.297 kB / 407.6 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.2551, allocations: 1.375 kB / 407.6 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2551, allocations: 1.375 kB / 407.6 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.2554, allocations: 96.39 kB / 407.7 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2554, allocations: 2.75 kB / 407.7 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.2556, allocations: 30.56 kB / 407.7 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.2556, allocations: 10.03 kB / 407.7 MB, free: 2.996 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.0001128/0.2557, allocations: 160.4 kB / 407.9 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.2558, allocations: 21.48 kB / 407.9 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.338e-05/0.2558, allocations: 29.55 kB / 407.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2558, allocations: 2.75 kB / 407.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2558, allocations: 0.6094 kB / 407.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.2558, allocations: 2.875 kB / 407.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.2571, allocations: 0.774 MB / 408.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.2571, allocations: 1.094 kB / 408.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/0.2574, allocations: 65.81 kB / 408.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2574, allocations: 2.656 kB / 408.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.2575, allocations: 9.234 kB / 408.8 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.2575, allocations: 3.188 kB / 408.8 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2575, allocations: 4.594 kB / 408.8 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.2586, allocations: 0.5985 MB / 409.4 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.2586, allocations: 20.45 kB / 409.4 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.2587, allocations: 10.36 kB / 409.4 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.2589, allocations: 30.42 kB / 409.4 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.2589, allocations: 22.47 kB / 409.5 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.259, allocations: 10.03 kB / 409.5 MB, free: 2.043 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.2591, allocations: 154.1 kB / 409.6 MB, free: 1.941 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2591, allocations: 0 / 409.6 MB, free: 1.941 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004631/0.2595, allocations: 115 kB / 409.7 MB, free: 1.914 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.001722/0.2612, allocations: 1.336 MB / 411.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008031/0.262, allocations: 344.8 kB / 411.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.262, allocations: 0.75 kB / 411.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003487/0.2624, allocations: 149.5 kB / 411.6 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.2627, allocations: 32.47 kB / 411.6 MB, free: 0.707 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004342/0.2671, allocations: 3.127 MB / 414.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.2674, allocations: 0.7567 MB / 415.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.2676, allocations: 39.98 kB / 415.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.2678, allocations: 84.95 kB / 415.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2678, allocations: 0 / 415.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.2971, allocations: 7.276 MB / 422.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.83, allocations: 15.81 kB / 422.9 MB, free: 9.066 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.095131670997944] 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.990113078034483 12.007252726 11.75921142 Calling exit ...