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.001037/0.001037, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009804/0.009804, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3965/0.3965, allocations: 40 MB / 310.7 MB, free: 9.605 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.0008155/0.0008158, allocations: 20 kB / 379.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1506, allocations: 57.95 MB / 437.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001139/0.1518, allocations: 238 kB / 437.6 MB, free: 1.688 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004618/0.1565, allocations: 2.1 MB / 439.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.673e-05/0.1565, allocations: 0 / 439.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.1566, allocations: 0 / 439.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.643e-06/0.1566, allocations: 0 / 439.7 MB, free: 15.56 MB / 382.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.001351/0.1579, allocations: 419 kB / 440.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.315e-05/0.158, allocations: 4 kB / 440.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.951e-05/0.158, allocations: 0 / 440.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.725e-05/0.158, allocations: 0 / 440.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.86e-05/0.1581, allocations: 0 / 440.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.366e-06/0.1581, allocations: 4 kB / 440.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000932/0.159, allocations: 0.6199 MB / 440.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.729e-06/0.1591, allocations: 7.938 kB / 440.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.1591, allocations: 25.7 kB / 440.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005454/0.1596, allocations: 387.2 kB / 441.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1597, allocations: 0 / 441.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1597, allocations: 0 / 441.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1597, allocations: 0 / 441.2 MB, free: 14.11 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.0004934/0.1602, allocations: 413.5 kB / 441.6 MB, free: 13.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.1602, allocations: 8.031 kB / 441.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.1603, allocations: 0.9375 kB / 441.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.1604, allocations: 164.4 kB / 441.8 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.1605, allocations: 8.375 kB / 441.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.1605, allocations: 384 / 441.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.1606, allocations: 37.95 kB / 441.8 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1606, allocations: 0 / 441.8 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.1607, allocations: 4 kB / 441.8 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1607, allocations: 0 / 441.8 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.041e-05/0.1607, allocations: 0 / 441.8 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.1609, allocations: 145.7 kB / 441.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.924e-05/0.1609, allocations: 22.61 kB / 442 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.161, allocations: 4.859 kB / 442 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.161, allocations: 0 / 442 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.962e-05/0.161, allocations: 72.2 kB / 442 MB, free: 13.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.161, allocations: 0 / 442 MB, free: 13.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000234/0.1613, allocations: 67.3 kB / 442.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.1614, allocations: 77.11 kB / 442.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.921e-05/0.1614, allocations: 93.92 kB / 442.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1615, allocations: 29.7 kB / 442.3 MB, free: 12.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.1615, allocations: 80.14 kB / 442.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.1615, allocations: 0 / 442.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.1616, allocations: 13.72 kB / 442.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1617, allocations: 314.8 kB / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-06/0.1617, allocations: 0 / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.678e-06/0.1618, allocations: 0 / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.436e-05/0.1618, allocations: 68.25 kB / 442.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1618, allocations: 4 kB / 442.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.625e-05/0.1619, allocations: 63.41 kB / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.162, allocations: 33.64 kB / 442.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.162, allocations: 0 / 442.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.162, allocations: 0 / 442.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.337e-06/0.162, allocations: 4 kB / 442.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.162, allocations: 0 / 442.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.1621, allocations: 3.984 kB / 442.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.1621, allocations: 3.938 kB / 442.9 MB, free: 12.13 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.1622, allocations: 139.6 kB / 443 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.1622, allocations: 7.922 kB / 443 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.818e-05/0.1623, allocations: 3.125 kB / 443 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.1623, allocations: 0 / 443 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.1623, allocations: 0 / 443 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.1623, allocations: 0 / 443 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.1625, allocations: 153.6 kB / 443.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1625, allocations: 0 / 443.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1625, allocations: 0 / 443.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1625, allocations: 3.938 kB / 443.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1625, allocations: 4 kB / 443.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1625, allocations: 0 / 443.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1625, allocations: 0 / 443.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.1626, allocations: 90.83 kB / 443.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.1627, allocations: 77.11 kB / 443.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.1627, allocations: 11.94 kB / 443.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.036e-05/0.1628, allocations: 4 kB / 443.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.1628, allocations: 4.031 kB / 443.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.1628, allocations: 3.938 kB / 443.4 MB, free: 11.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.045e-05/0.1628, allocations: 75.28 kB / 443.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1629, allocations: 0 / 443.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004359/0.1633, allocations: 128 kB / 443.6 MB, free: 11.33 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 (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.0008118/0.1641, allocations: 298.7 kB / 443.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.84e-05/0.1642, allocations: 67.33 kB / 443.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1642, allocations: 0 / 443.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.911e-05/0.1643, allocations: 55.41 kB / 444 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.1644, allocations: 0 / 444 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000176/0.1646, allocations: 82.7 kB / 444.1 MB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.1648, allocations: 0.6731 MB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.999e-06/0.1648, allocations: 4.062 kB / 444.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.207e-05/0.1649, allocations: 15.44 kB / 444.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1649, allocations: 0 / 444.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of Templates: time 0.007024/0.1719, allocations: 3.347 MB / 448.1 MB, free: 6.723 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: