Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 212.3 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 68.77 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2728, allocations: 53.38 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002863/0.2756, allocations: 1.603 MB / 433.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.2767, allocations: 0.5726 MB / 434.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.2767, allocations: 0 / 434.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.598e-05/0.2768, allocations: 15.81 kB / 434.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.301e-05/0.2768, allocations: 11.92 kB / 434.1 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.2771, allocations: 59.77 kB / 434.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.2772, allocations: 47.86 kB / 434.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.2773, allocations: 27.77 kB / 434.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.736e-05/0.2773, allocations: 23.86 kB / 434.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.35e-05/0.2774, allocations: 23.86 kB / 434.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.2774, allocations: 4 kB / 434.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.2776, allocations: 51.89 kB / 434.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.2776, allocations: 19.92 kB / 434.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.2777, allocations: 19.88 kB / 434.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.2778, allocations: 89.89 kB / 434.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2778, allocations: 0 / 434.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2778, allocations: 0 / 434.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.2779, allocations: 0 / 434.5 MB, free: 4.328 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004778/0.2783, allocations: 306 kB / 434.8 MB, free: 4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.2784, allocations: 8.031 kB / 434.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.515e-05/0.2784, allocations: 50.67 kB / 434.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004184/0.2788, allocations: 48.84 kB / 434.9 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.279, allocations: 126.3 kB / 435 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.279, allocations: 8.375 kB / 435 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.279, allocations: 4.375 kB / 435 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.2793, allocations: 93.77 kB / 435.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2793, allocations: 0 / 435.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.2793, allocations: 8 kB / 435.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2793, allocations: 0 / 435.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.2795, allocations: 75.88 kB / 435.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006476/0.2801, allocations: 335.5 kB / 435.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.2803, allocations: 74.53 kB / 435.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.417e-05/0.2804, allocations: 32.97 kB / 435.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.2804, allocations: 0 / 435.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.2805, allocations: 38.55 kB / 435.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.2805, allocations: 0 / 435.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003918/0.2809, allocations: 129.5 kB / 435.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.2809, allocations: 51.41 kB / 435.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.281, allocations: 130.1 kB / 436 MB, free: 2.676 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.281, allocations: 25.7 kB / 436 MB, free: 2.645 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.2811, allocations: 100 kB / 436.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.2811, allocations: 15.91 kB / 436.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.2812, allocations: 21.7 kB / 436.1 MB, free: 2.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2813, allocations: 310.8 kB / 436.4 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.2814, allocations: 35.97 kB / 436.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.282e-05/0.2815, allocations: 27.92 kB / 436.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.2817, allocations: 56.81 kB / 436.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2817, allocations: 0 / 436.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002326/0.2819, allocations: 101.5 kB / 436.7 MB, free: 1.961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2819, allocations: 4 kB / 436.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2819, allocations: 0 / 436.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.2819, allocations: 11.92 kB / 436.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.2821, allocations: 15.98 kB / 436.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.2821, allocations: 0 / 436.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.289e-05/0.2822, allocations: 19.88 kB / 436.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.2822, allocations: 0 / 436.7 MB, free: 1.91 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * 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 9.433e-05/0.2823, allocations: 117.8 kB / 436.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.2823, allocations: 4 kB / 436.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.2826, allocations: 117.6 kB / 436.9 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2826, allocations: 0 / 436.9 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2826, allocations: 0.5 kB / 436.9 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2826, allocations: 0 / 436.9 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.2828, allocations: 172.6 kB / 437.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2828, allocations: 8 kB / 437.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.2829, allocations: 19.98 kB / 437.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2829, allocations: 0 / 437.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.2829, allocations: 7.875 kB / 437.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2829, allocations: 0 / 437.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.283, allocations: 3.984 kB / 437.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.2832, allocations: 195.5 kB / 437.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.2833, allocations: 3.953 kB / 437.3 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.2833, allocations: 7.938 kB / 437.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.2834, allocations: 11.98 kB / 437.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.2834, allocations: 11.97 kB / 437.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.2834, allocations: 0 / 437.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.982e-05/0.2835, allocations: 98.27 kB / 437.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2835, allocations: 0 / 437.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.2837, allocations: 23.89 kB / 437.5 MB, free: 1.047 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0006978/0.2844, allocations: 0.7554 MB / 438.3 MB, free: 272 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.2846, allocations: 71.83 kB / 438.3 MB, free: 200 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2846, allocations: 0 / 438.3 MB, free: 200 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.2848, allocations: 39.97 kB / 438.4 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.2851, allocations: 5.062 kB / 438.4 MB, free: 156 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.287, allocations: 1.473 MB / 439.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.2873, allocations: 0.6885 MB / 440.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.262e-05/0.2874, allocations: 11.98 kB / 440.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.2874, allocations: 23.44 kB / 440.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2874, allocations: 0 / 440.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.3134, allocations: 1.921 MB / 442.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.383/8.696, allocations: 4 kB / 442.5 MB, free: 12.02 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.971216488163918] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformDensity_y', 'normalDensity_y', 'weibullDensity_y'] 8.769361569080502 8.795065501 8.51257309 Calling exit ...