Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.007723/0.007723, allocations: 111.1 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.002121/0.002121, 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.332/1.332, allocations: 207.6 MB / 236 MB, free: 9.988 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.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",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.00172/0.00172, allocations: 47.94 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2627, allocations: 49.16 MB / 397.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002793/0.2655, allocations: 1.494 MB / 398.6 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.2667, allocations: 0.568 MB / 399.2 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.2668, allocations: 1.188 kB / 399.2 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.2669, allocations: 13.09 kB / 399.2 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.371e-05/0.267, allocations: 20.95 kB / 399.2 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000639/0.2676, allocations: 157.2 kB / 399.4 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.2678, allocations: 123.5 kB / 399.5 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.921e-05/0.2679, allocations: 4.75 kB / 399.5 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.129e-05/0.268, allocations: 54.31 kB / 399.6 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.498e-05/0.268, allocations: 55.52 kB / 399.6 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.2681, allocations: 9.625 kB / 399.6 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003749/0.2685, allocations: 165.8 kB / 399.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.02e-05/0.2685, allocations: 37.31 kB / 399.8 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.558e-05/0.2686, allocations: 48.33 kB / 399.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.269, allocations: 227.7 kB / 400.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.269, allocations: 0 / 400.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.269, allocations: 0.9688 kB / 400.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.269, allocations: 0 / 400.1 MB, free: 7.176 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006668/0.2697, allocations: 385.1 kB / 400.5 MB, free: 6.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.2697, allocations: 18.36 kB / 400.5 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.978e-05/0.2697, allocations: 1.25 kB / 400.5 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.703e-05/0.2698, allocations: 40.8 kB / 400.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003439/0.2701, allocations: 39.36 kB / 400.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.2703, allocations: 144.1 kB / 400.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.2703, allocations: 9.547 kB / 400.7 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.2703, allocations: 5.891 kB / 400.7 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.2706, allocations: 125.9 kB / 400.8 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2706, allocations: 0 / 400.8 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.2706, allocations: 1.969 kB / 400.8 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2706, allocations: 1.094 kB / 400.8 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.2708, allocations: 62.86 kB / 400.9 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006626/0.2715, allocations: 434.7 kB / 401.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.2718, allocations: 130.1 kB / 401.5 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.2719, allocations: 56.34 kB / 401.5 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.2719, allocations: 1.828 kB / 401.5 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003494/0.2722, allocations: 150.4 kB / 401.7 MB, free: 5.973 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.2722, allocations: 4 kB / 401.7 MB, free: 5.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008277/0.2731, allocations: 332.5 kB / 402 MB, free: 5.836 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.2731, allocations: 95.89 kB / 402.1 MB, free: 5.734 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.2733, allocations: 181.9 kB / 402.3 MB, free: 5.602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.2733, allocations: 44.84 kB / 402.3 MB, free: 5.566 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.2734, allocations: 104.6 kB / 402.4 MB, free: 5.465 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.793e-05/0.2734, allocations: 53.22 kB / 402.5 MB, free: 5.426 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.051e-05/0.2735, allocations: 64.09 kB / 402.5 MB, free: 5.387 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.962e-05/0.2736, allocations: 334.6 kB / 402.8 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.2738, allocations: 111.3 kB / 403 MB, free: 5.023 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.2741, allocations: 145.3 kB / 403.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.2744, allocations: 232.1 kB / 403.3 MB, free: 4.844 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2744, allocations: 1.469 kB / 403.3 MB, free: 4.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005057/0.2749, allocations: 309.9 kB / 403.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2749, allocations: 13.31 kB / 403.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2749, allocations: 1.25 kB / 403.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.275, allocations: 1.375 kB / 403.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.2751, allocations: 40.08 kB / 403.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2751, allocations: 3.344 kB / 403.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.268e-05/0.2752, allocations: 12.69 kB / 403.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.2752, allocations: 6.438 kB / 403.7 MB, free: 4.703 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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.0001217/0.2754, allocations: 162.8 kB / 403.9 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.2754, allocations: 13.66 kB / 403.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.2754, allocations: 12.91 kB / 403.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2754, allocations: 1.094 kB / 403.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2754, allocations: 5.094 kB / 403.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2754, allocations: 2.953 kB / 403.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.2759, allocations: 427.8 kB / 404.3 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2759, allocations: 1.328 kB / 404.3 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.623e-05/0.2759, allocations: 13.91 kB / 404.3 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2759, allocations: 0.9375 kB / 404.3 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.276, allocations: 7.516 kB / 404.3 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.276, allocations: 5.75 kB / 404.3 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.276, allocations: 5.375 kB / 404.4 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.2763, allocations: 313.2 kB / 404.7 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.2764, allocations: 13.8 kB / 404.7 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.2764, allocations: 13.31 kB / 404.7 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/0.2765, allocations: 10.55 kB / 404.7 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.2765, allocations: 19.22 kB / 404.7 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.2766, allocations: 9.297 kB / 404.7 MB, free: 3.938 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.704e-05/0.2766, allocations: 122 kB / 404.8 MB, free: 3.852 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2766, allocations: 0 / 404.8 MB, free: 3.852 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003672/0.277, allocations: 57.42 kB / 404.9 MB, free: 3.836 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001117/0.2781, allocations: 1.037 MB / 405.9 MB, free: 2.992 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004086/0.2785, allocations: 189.4 kB / 406.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2785, allocations: 0 / 406.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.2787, allocations: 62.86 kB / 406.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.2789, allocations: 16.19 kB / 406.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.2813, allocations: 2.256 MB / 408.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.2815, allocations: 0.7206 MB / 409.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.123e-05/0.2815, allocations: 17.48 kB / 409.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.952e-05/0.2816, allocations: 44.23 kB / 409.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2816, allocations: 0 / 409.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.3074, allocations: 4.22 MB / 413.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.5, allocations: 8.203 kB / 413.5 MB, free: 14.91 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.752453116001561] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise2_y'] 11.656905219017062 11.676441853 11.403894817 Calling exit ...