Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.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.TestSpecial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.009619/0.00962, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.682/1.682, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.3955/0.3955, allocations: 40.01 MB / 310.7 MB, free: 9.551 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.0005315/0.0005316, allocations: 16 kB / 379.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1504, allocations: 57.96 MB / 437.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.0008646/0.1513, allocations: 234 kB / 437.6 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003227/0.1545, allocations: 2.073 MB / 439.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.901e-06/0.1546, allocations: 0 / 439.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.32e-06/0.1546, allocations: 0 / 439.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.775e-06/0.1546, allocations: 0 / 439.7 MB, free: 15.59 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:909:5-992: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.0009686/0.1555, allocations: 399.1 kB / 440.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.099e-05/0.1556, allocations: 4 kB / 440.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.712e-05/0.1556, allocations: 7.984 kB / 440.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.234e-06/0.1556, allocations: 3.938 kB / 440.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.176e-05/0.1556, allocations: 3.938 kB / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.527e-06/0.1557, allocations: 4 kB / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009963/0.1567, allocations: 0.667 MB / 440.8 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.1567, allocations: 7.984 kB / 440.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.1567, allocations: 29.7 kB / 440.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005627/0.1573, allocations: 383.1 kB / 441.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1573, allocations: 0 / 441.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.919e-06/0.1573, allocations: 4 kB / 441.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1573, allocations: 3.938 kB / 441.2 MB, free: 14.09 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.0004569/0.1578, allocations: 401.3 kB / 441.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1578, allocations: 12.03 kB / 441.6 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.1579, allocations: 0.9375 kB / 441.6 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.158, allocations: 164.4 kB / 441.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.158, allocations: 4.359 kB / 441.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-06/0.158, allocations: 384 / 441.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.288e-05/0.1581, allocations: 38.02 kB / 441.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-06/0.1581, allocations: 0 / 441.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.1582, allocations: 0 / 441.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.1582, allocations: 4 kB / 441.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.647e-05/0.1582, allocations: 4 kB / 441.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.1584, allocations: 145.6 kB / 442 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.08e-05/0.1584, allocations: 18.56 kB / 442 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.1584, allocations: 8.953 kB / 442 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-06/0.1585, allocations: 0 / 442 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.666e-05/0.1585, allocations: 64.2 kB / 442.1 MB, free: 13.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.1585, allocations: 4 kB / 442.1 MB, free: 13.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001602/0.1587, allocations: 75.22 kB / 442.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.1588, allocations: 77.11 kB / 442.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.717e-05/0.1588, allocations: 89.86 kB / 442.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1588, allocations: 29.7 kB / 442.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.1589, allocations: 80.14 kB / 442.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.1589, allocations: 3.938 kB / 442.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.1589, allocations: 13.72 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1591, allocations: 315 kB / 442.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-06/0.1591, allocations: 0 / 442.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-06/0.1591, allocations: 4 kB / 442.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.223e-05/0.1591, allocations: 56.27 kB / 442.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1592, allocations: 4 kB / 442.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.473e-05/0.1592, allocations: 67.33 kB / 442.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.1593, allocations: 37.64 kB / 442.9 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-06/0.1593, allocations: 0 / 442.9 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/0.1593, allocations: 8.031 kB / 442.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.01e-07/0.1593, allocations: 0 / 442.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.1593, allocations: 0 / 442.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.137e-05/0.1593, allocations: 0 / 442.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.1593, allocations: 4 kB / 442.9 MB, free: 12.12 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 8.853e-05/0.1594, allocations: 135.5 kB / 443 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-06/0.1594, allocations: 3.938 kB / 443 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.779e-06/0.1595, allocations: 7.125 kB / 443.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.1595, allocations: 4 kB / 443.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1595, allocations: 4 kB / 443.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-06/0.1595, allocations: 0 / 443.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.657e-05/0.1596, allocations: 145.7 kB / 443.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.1596, allocations: 0 / 443.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.1596, allocations: 0 / 443.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1596, allocations: 3.938 kB / 443.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-06/0.1596, allocations: 4 kB / 443.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.1596, allocations: 0 / 443.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1596, allocations: 0 / 443.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.227e-05/0.1597, allocations: 102.8 kB / 443.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.1598, allocations: 77.11 kB / 443.4 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.1598, allocations: 3.938 kB / 443.4 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-06/0.1598, allocations: 0 / 443.4 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-06/0.1598, allocations: 0 / 443.4 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.1598, allocations: 4 kB / 443.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.703e-05/0.1598, allocations: 75.28 kB / 443.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.212e-06/0.1598, allocations: 0 / 443.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.1602, allocations: 127.9 kB / 443.6 MB, free: 11.32 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.000703/0.1609, allocations: 298.8 kB / 443.9 MB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.747e-05/0.161, allocations: 63.41 kB / 443.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.161, allocations: 0 / 443.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.7e-05/0.161, allocations: 63.33 kB / 444 MB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.1611, allocations: 7.938 kB / 444 MB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001043/0.1613, allocations: 70.77 kB / 444.1 MB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.1615, allocations: 0.6692 MB / 444.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.106e-06/0.1615, allocations: 4 kB / 444.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-06/0.1615, allocations: 7.438 kB / 444.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1615, allocations: 0 / 444.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of Templates: time 0.006176/0.1677, allocations: 3.382 MB / 448.1 MB, free: 6.695 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) Environment - environmentSimulation: