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.00969/0.00969, allocations: 112 kB / 21.97 MB, free: 5.246 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.001988/0.001988, allocations: 202.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.416/1.416, allocations: 207.6 MB / 236 MB, free: 9.98 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.00169/0.00169, allocations: 52.25 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2473, allocations: 49.16 MB / 397.1 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002319/0.2496, allocations: 1.541 MB / 398.7 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.2517, allocations: 1.493 MB / 400.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.195e-05/0.2518, allocations: 0 / 400.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.061e-05/0.2518, allocations: 14.58 kB / 400.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.146e-05/0.2519, allocations: 22.28 kB / 400.2 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.253, allocations: 397.6 kB / 400.6 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.2532, allocations: 139.3 kB / 400.7 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.028e-05/0.2532, allocations: 8.031 kB / 400.7 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.422e-05/0.2533, allocations: 60.08 kB / 400.8 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.299e-05/0.2534, allocations: 72.58 kB / 400.9 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.2534, allocations: 11.31 kB / 400.9 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007852/0.2542, allocations: 473.4 kB / 401.3 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.2543, allocations: 42.66 kB / 401.4 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.258e-05/0.2543, allocations: 61.64 kB / 401.4 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006262/0.2549, allocations: 418.3 kB / 401.9 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2549, allocations: 1.219 kB / 401.9 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2549, allocations: 4 kB / 401.9 MB, free: 6.219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.255, allocations: 0 / 401.9 MB, free: 6.219 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.0006906/0.2556, allocations: 453.2 kB / 402.3 MB, free: 5.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2557, allocations: 14.31 kB / 402.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.104e-05/0.2557, allocations: 2.188 kB / 402.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.2558, allocations: 41.14 kB / 402.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.256, allocations: 35.42 kB / 402.4 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.2561, allocations: 163.7 kB / 402.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.2561, allocations: 9.562 kB / 402.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.2561, allocations: 11.12 kB / 402.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.2564, allocations: 137.3 kB / 402.7 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.2564, allocations: 5.422 kB / 402.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2564, allocations: 1.5 kB / 402.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2564, allocations: 5.406 kB / 402.7 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.2566, allocations: 80.62 kB / 402.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006491/0.2573, allocations: 0.5403 MB / 403.3 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.2576, allocations: 163.4 kB / 403.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.2577, allocations: 67.8 kB / 403.6 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.2577, allocations: 5.312 kB / 403.6 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003199/0.258, allocations: 164.7 kB / 403.7 MB, free: 4.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.258, allocations: 0 / 403.7 MB, free: 4.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009006/0.2589, allocations: 450.8 kB / 404.2 MB, free: 4.605 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.259, allocations: 123.1 kB / 404.3 MB, free: 4.473 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.2592, allocations: 195.2 kB / 404.5 MB, free: 4.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.2592, allocations: 48.2 kB / 404.5 MB, free: 4.301 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.2592, allocations: 110.5 kB / 404.6 MB, free: 4.195 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.2593, allocations: 62.72 kB / 404.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-05/0.2594, allocations: 73.12 kB / 404.8 MB, free: 4.105 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.008e-05/0.2594, allocations: 329.3 kB / 405.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.2596, allocations: 109 kB / 405.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.2598, allocations: 161 kB / 405.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/0.2602, allocations: 262.8 kB / 405.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.2602, allocations: 0.9688 kB / 405.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005309/0.2607, allocations: 340.8 kB / 405.9 MB, free: 3.406 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2608, allocations: 5.781 kB / 405.9 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2608, allocations: 2.188 kB / 406 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.2608, allocations: 6.281 kB / 406 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.261, allocations: 47.31 kB / 406 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.261, allocations: 1.656 kB / 406 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.653e-05/0.2611, allocations: 19.72 kB / 406 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.2611, allocations: 8.672 kB / 406 MB, free: 3.383 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.0001298/0.2612, allocations: 151.9 kB / 406.2 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.2612, allocations: 18.31 kB / 406.2 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.2613, allocations: 22.05 kB / 406.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.2613, allocations: 3.766 kB / 406.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.2613, allocations: 1.5 kB / 406.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.2613, allocations: 4.562 kB / 406.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000716/0.262, allocations: 0.6244 MB / 406.9 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.262, allocations: 2.562 kB / 406.9 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.647e-05/0.2621, allocations: 24.02 kB / 406.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2621, allocations: 2.625 kB / 406.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.2621, allocations: 9.781 kB / 406.9 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2621, allocations: 5.375 kB / 406.9 MB, free: 2.727 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.2621, allocations: 6.688 kB / 406.9 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.2625, allocations: 426.2 kB / 407.3 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.2626, allocations: 20.31 kB / 407.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.2626, allocations: 10.84 kB / 407.4 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.2627, allocations: 11.12 kB / 407.4 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.2628, allocations: 30.08 kB / 407.4 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.2628, allocations: 11.67 kB / 407.4 MB, free: 2.379 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.2629, allocations: 145.8 kB / 407.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2629, allocations: 0 / 407.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006569/0.2636, allocations: 133.9 kB / 407.7 MB, free: 2.242 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.001363/0.265, allocations: 1.267 MB / 408.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004397/0.2654, allocations: 219.2 kB / 409.2 MB, free: 1.199 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2654, allocations: 3.938 kB / 409.2 MB, free: 1.195 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.2656, allocations: 75.48 kB / 409.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.2659, allocations: 19.19 kB / 409.3 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.2688, allocations: 2.625 MB / 411.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.2692, allocations: 0.729 MB / 412.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.2693, allocations: 26.97 kB / 412.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.922e-05/0.2694, allocations: 52.12 kB / 412.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2694, allocations: 0 / 412.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.2993, allocations: 6.178 MB / 418.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.51, allocations: 23.16 kB / 418.9 MB, free: 11.51 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.882386245997623] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise_y', 'truncatedNormalNoise_y'] 11.671340239001438 11.689935354 11.431726462 Calling exit ...