Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.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.001081/0.001081, allocations: 106.5 kB / 19.74 MB, free: 2.566 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.001321/0.001321, allocations: 221 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 230.2 MB / 256.2 MB, free: 8.73 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2052/0.2052, allocations: 46.89 MB / 359.3 MB, free: 4.949 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002119/0.002119, allocations: 87.86 kB / 0.494 GB, free: 9.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2736, allocations: 65.98 MB / 0.5584 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001457/0.2751, allocations: 0.4931 MB / 0.5589 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002626/0.2777, allocations: 2.054 MB / 0.5609 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.694e-05/0.2777, allocations: 0 / 0.5609 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.1e-05/0.2777, allocations: 4 kB / 0.5609 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.779e-06/0.2777, allocations: 4 kB / 0.5609 GB, free: 2.605 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:928:5-1011:16:writable] Warning: Pure function 'ModelicaTest.Math.Random.special' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.279, allocations: 494.2 kB / 0.5614 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.411e-05/0.279, allocations: 11.98 kB / 0.5614 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.64e-05/0.279, allocations: 3.984 kB / 0.5614 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.357e-05/0.2791, allocations: 0 / 0.5614 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.681e-05/0.2791, allocations: 3.938 kB / 0.5614 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.67e-06/0.2791, allocations: 0 / 0.5614 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.2801, allocations: 0.6725 MB / 0.5621 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.981e-06/0.2801, allocations: 4 kB / 0.5621 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.54e-05/0.2801, allocations: 0 / 0.5621 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005217/0.2806, allocations: 387.1 kB / 0.5624 GB, free: 1.051 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2806, allocations: 0 / 0.5624 GB, free: 1.051 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2806, allocations: 0 / 0.5624 GB, free: 1.051 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.748e-06/0.2806, allocations: 0 / 0.5624 GB, free: 1.051 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004359/0.2811, allocations: 420.5 kB / 0.5628 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2811, allocations: 8.031 kB / 0.5628 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.044e-05/0.2812, allocations: 38.7 kB / 0.5629 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.2812, allocations: 8.922 kB / 0.5629 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.998e-05/0.2813, allocations: 164.3 kB / 0.563 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.2813, allocations: 384 / 0.563 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.2813, allocations: 384 / 0.563 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.492e-05/0.2814, allocations: 37.77 kB / 0.5631 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.2814, allocations: 0 / 0.5631 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-06/0.2814, allocations: 4 kB / 0.5631 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2814, allocations: 4 kB / 0.5631 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.366e-05/0.2814, allocations: 3.984 kB / 0.5631 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.2817, allocations: 232.8 kB / 0.5633 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.4e-05/0.2817, allocations: 18.61 kB / 0.5633 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.2817, allocations: 20.84 kB / 0.5633 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.2818, allocations: 4 kB / 0.5634 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.2818, allocations: 56.27 kB / 0.5634 GB, free: 15.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2818, allocations: 0 / 0.5634 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001727/0.282, allocations: 71.39 kB / 0.5635 GB, free: 15.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.282, allocations: 81.11 kB / 0.5636 GB, free: 15.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.197e-05/0.2821, allocations: 89.86 kB / 0.5636 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.2821, allocations: 25.7 kB / 0.5637 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.2821, allocations: 84.08 kB / 0.5637 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.2821, allocations: 8.078 kB / 0.5637 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.2822, allocations: 17.72 kB / 0.5638 GB, free: 15.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2823, allocations: 310.8 kB / 0.5641 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.2823, allocations: 3.984 kB / 0.5641 GB, free: 15.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-06/0.2823, allocations: 7.938 kB / 0.5641 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.462e-05/0.2824, allocations: 64.27 kB / 0.5641 GB, free: 15.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2824, allocations: 3.938 kB / 0.5641 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.115e-05/0.2824, allocations: 75.45 kB / 0.5642 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.2825, allocations: 33.69 kB / 0.5642 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2825, allocations: 0 / 0.5642 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.2825, allocations: 0 / 0.5642 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.374e-05/0.2825, allocations: 4 kB / 0.5642 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.2825, allocations: 0 / 0.5642 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.541e-05/0.2825, allocations: 4 kB / 0.5643 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.2825, allocations: 3.984 kB / 0.5643 GB, free: 14.9 MB / 414.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: 2 ($outputAlias_result,result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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 8.819e-05/0.2826, allocations: 143.4 kB / 0.5644 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.2826, allocations: 32 / 0.5644 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.057e-05/0.2826, allocations: 7.125 kB / 0.5644 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2826, allocations: 3.984 kB / 0.5644 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2827, allocations: 0 / 0.5644 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2827, allocations: 0 / 0.5644 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.2829, allocations: 300.3 kB / 0.5647 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2829, allocations: 0 / 0.5647 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-06/0.2829, allocations: 0 / 0.5647 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.2829, allocations: 0 / 0.5647 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.2829, allocations: 4 kB / 0.5647 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2829, allocations: 4.031 kB / 0.5647 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2829, allocations: 0 / 0.5647 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.283, allocations: 169.1 kB / 0.5649 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.2831, allocations: 81.11 kB / 0.5649 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.2831, allocations: 0 / 0.5649 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.801e-05/0.2831, allocations: 7.922 kB / 0.5649 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.2831, allocations: 0 / 0.5649 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.2831, allocations: 4.031 kB / 0.5649 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.501e-05/0.2832, allocations: 83.28 kB / 0.565 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2832, allocations: 3.938 kB / 0.565 GB, free: 13.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003965/0.2836, allocations: 131.5 kB / 0.5652 GB, free: 13.86 MB / 414.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: 2 (result,$outputAlias_result) * Number of discrete states: 1 ($outputAlias_result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.001018/0.2846, allocations: 0.9115 MB / 0.566 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.2847, allocations: 67.39 kB / 0.5661 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2847, allocations: 0 / 0.5661 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.952e-05/0.2847, allocations: 59.47 kB / 0.5662 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.2849, allocations: 6.656 kB / 0.5662 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009571/0.2859, allocations: 1.199 MB / 0.5673 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.2862, allocations: 0.6768 MB / 0.568 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.505e-06/0.2862, allocations: 0 / 0.568 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.2862, allocations: 11.44 kB / 0.568 GB, free: 10.77 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2862, allocations: 0 / 0.568 GB, free: 10.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.3126, allocations: 4.525 MB / 0.5724 GB, free: 6.301 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.077/7.39, allocations: 0 / 0.5724 GB, free: 6.301 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_Random_TestSpecial_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_Random_TestSpecial.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.854271522010094]