Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009016/0.0009015, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4374/0.4374, allocations: 40 MB / 310.4 MB, free: 10.06 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000638/0.0006383, allocations: 16 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1474, allocations: 57.96 MB / 436.8 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.0007318/0.1482, allocations: 230.1 kB / 437 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003443/0.1517, allocations: 1.976 MB / 439 MB, free: 360 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.627e-05/0.1517, allocations: 4 kB / 439 MB, free: 356 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.1518, allocations: 0 / 439 MB, free: 356 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.845e-06/0.1518, allocations: 0 / 439 MB, free: 356 kB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:994:5-1076:22:writable] Warning: Pure function ‘ModelicaTest.Math.Random.distributions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.1534, allocations: 403.2 kB / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.565e-05/0.1535, allocations: 0 / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.1535, allocations: 0 / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.204e-05/0.1535, allocations: 0 / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.303e-05/0.1536, allocations: 7.984 kB / 439.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.1536, allocations: 0 / 439.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.1548, allocations: 0.6004 MB / 440 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.745e-06/0.1548, allocations: 3.938 kB / 440 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.472e-05/0.1549, allocations: 29.7 kB / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005091/0.1554, allocations: 247.6 kB / 440.3 MB, free: 15.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1554, allocations: 0 / 440.3 MB, free: 15.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1554, allocations: 0 / 440.3 MB, free: 15.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1555, allocations: 0 / 440.3 MB, free: 15.06 MB / 382.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.0006024/0.1561, allocations: 413.3 kB / 440.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1561, allocations: 8.031 kB / 440.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.1562, allocations: 8 kB / 440.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.194e-05/0.1563, allocations: 159.1 kB / 440.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.774e-05/0.1563, allocations: 4 kB / 440.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.1563, allocations: 0 / 440.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.513e-05/0.1564, allocations: 25.7 kB / 440.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1565, allocations: 0 / 440.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1565, allocations: 15.88 kB / 440.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1565, allocations: 0 / 440.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.008e-05/0.1565, allocations: 4 kB / 440.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.1567, allocations: 145.7 kB / 441 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.941e-05/0.1567, allocations: 18.61 kB / 441.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.263e-05/0.1567, allocations: 4.859 kB / 441.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.759e-06/0.1567, allocations: 0 / 441.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.1568, allocations: 64.33 kB / 441.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1568, allocations: 0 / 441.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001817/0.157, allocations: 71.23 kB / 441.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/0.1571, allocations: 85.19 kB / 441.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.793e-05/0.1571, allocations: 93.8 kB / 441.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.1571, allocations: 25.7 kB / 441.4 MB, free: 13.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.1572, allocations: 80.14 kB / 441.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.1572, allocations: 0 / 441.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-06/0.1572, allocations: 0 / 441.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1574, allocations: 322.8 kB / 441.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-06/0.1574, allocations: 0 / 441.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/0.1574, allocations: 4 kB / 441.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.606e-05/0.1574, allocations: 25.7 kB / 441.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1574, allocations: 4 kB / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.32e-05/0.1575, allocations: 59.34 kB / 441.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.1577, allocations: 33.7 kB / 441.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1577, allocations: 3.984 kB / 441.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1577, allocations: 0 / 441.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.1577, allocations: 0 / 441.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1577, allocations: 3.984 kB / 441.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.1577, allocations: 3.953 kB / 441.9 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1578, allocations: 12.03 kB / 441.9 MB, free: 13.14 MB / 382.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.9e-05/0.1578, allocations: 135.5 kB / 442.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-06/0.1578, allocations: 0 / 442.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.218e-05/0.1579, allocations: 3.125 kB / 442.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1579, allocations: 4 kB / 442.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1579, allocations: 0 / 442.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1579, allocations: 0 / 442.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.158, allocations: 149.6 kB / 442.2 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.158, allocations: 0 / 442.2 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-07/0.158, allocations: 4 kB / 442.2 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.158, allocations: 0 / 442.2 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.158, allocations: 7.984 kB / 442.2 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/0.1581, allocations: 0 / 442.2 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1581, allocations: 0 / 442.2 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.1582, allocations: 98.72 kB / 442.3 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.1583, allocations: 77.11 kB / 442.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1583, allocations: 0 / 442.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.3e-05/0.1583, allocations: 8.031 kB / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.1583, allocations: 0 / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.1583, allocations: 11.92 kB / 442.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002178/0.1586, allocations: 75.28 kB / 442.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1586, allocations: 0 / 442.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000526/0.1591, allocations: 124 kB / 442.6 MB, free: 12.35 MB / 382.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000911/0.16, allocations: 310.7 kB / 442.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.652e-05/0.1601, allocations: 55.41 kB / 443 MB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1601, allocations: 4 kB / 443 MB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.57e-05/0.1602, allocations: 59.34 kB / 443 MB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.1603, allocations: 7.953 kB / 443 MB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001859/0.1605, allocations: 78.69 kB / 443.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.1609, allocations: 0.6772 MB / 443.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.531e-06/0.1609, allocations: 3.938 kB / 443.8 MB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.101e-05/0.1609, allocations: 7.438 kB / 443.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1609, allocations: 0 / 443.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of Templates: time 0.008352/0.1693, allocations: 3.335 MB / 447.1 MB, free: 7.738 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) Environment - environmentSimulation: