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.001735/0.001734, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002218/0.002218, allocations: 198 kB / 16.54 MB, free: 6.672 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.655/1.655, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.3697/0.3697, allocations: 39.94 MB / 309.7 MB, free: 9.246 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.001669/0.001669, allocations: 70.41 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1356, allocations: 56.88 MB / 434.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001983/0.1377, allocations: 0.5027 MB / 435 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.1407, allocations: 2.026 MB / 437 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.126e-05/0.1408, allocations: 0 / 437 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.1408, allocations: 0 / 437 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.1408, allocations: 0 / 437 MB, free: 1.141 MB / 366.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.002089/0.1429, allocations: 494.7 kB / 437.5 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.22e-05/0.143, allocations: 4 kB / 437.5 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.475e-05/0.1431, allocations: 0 / 437.5 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.469e-05/0.1431, allocations: 0 / 437.5 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.89e-05/0.1432, allocations: 7.938 kB / 437.5 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.1432, allocations: 0 / 437.5 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.1443, allocations: 0.6239 MB / 438.1 MB, free: 20 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.1444, allocations: 3.938 kB / 438.1 MB, free: 16 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.1444, allocations: 0 / 438.1 MB, free: 16 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005972/0.145, allocations: 379.3 kB / 438.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.145, allocations: 8 kB / 438.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1451, allocations: 0 / 438.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1451, allocations: 0 / 438.5 MB, free: 15.64 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.0005929/0.1457, allocations: 405.5 kB / 438.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.1457, allocations: 11.89 kB / 438.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.1458, allocations: 0.9375 kB / 438.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.1459, allocations: 164.3 kB / 439.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1459, allocations: 4.375 kB / 439.1 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.1459, allocations: 384 / 439.1 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.146, allocations: 38 kB / 439.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1461, allocations: 0 / 439.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1461, allocations: 4 kB / 439.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1461, allocations: 0 / 439.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.191e-05/0.1461, allocations: 3.938 kB / 439.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.1463, allocations: 145.7 kB / 439.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.813e-05/0.1463, allocations: 18.61 kB / 439.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.1463, allocations: 8.859 kB / 439.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.1464, allocations: 0 / 439.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.681e-05/0.1464, allocations: 68.25 kB / 439.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1464, allocations: 0 / 439.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001867/0.1466, allocations: 71.25 kB / 439.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.1467, allocations: 77.11 kB / 439.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.856e-05/0.1467, allocations: 89.86 kB / 439.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.1467, allocations: 25.7 kB / 439.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.674e-05/0.1468, allocations: 84.27 kB / 439.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.1468, allocations: 0 / 439.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.1468, allocations: 17.7 kB / 439.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.147, allocations: 310.8 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.147, allocations: 3.938 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-06/0.147, allocations: 4 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.151e-05/0.147, allocations: 60.27 kB / 440.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1471, allocations: 8.062 kB / 440.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.765e-05/0.1471, allocations: 67.33 kB / 440.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/0.1472, allocations: 37.64 kB / 440.2 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1472, allocations: 0 / 440.2 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1472, allocations: 0 / 440.2 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.1472, allocations: 0 / 440.2 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1472, allocations: 0 / 440.2 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.425e-05/0.1472, allocations: 0 / 440.2 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1473, allocations: 3.938 kB / 440.2 MB, free: 13.67 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 7.681e-05/0.1473, allocations: 143.6 kB / 440.4 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.168e-06/0.1474, allocations: 3.938 kB / 440.4 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.357e-05/0.1474, allocations: 7.109 kB / 440.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1474, allocations: 4 kB / 440.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1474, allocations: 0 / 440.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1474, allocations: 0 / 440.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.697e-05/0.1475, allocations: 141.7 kB / 440.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.1475, allocations: 0 / 440.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1475, allocations: 0 / 440.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.1475, allocations: 3.938 kB / 440.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1475, allocations: 7.984 kB / 440.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1475, allocations: 4 kB / 440.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1476, allocations: 3.984 kB / 440.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.886e-05/0.1477, allocations: 90.78 kB / 440.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.1477, allocations: 81.09 kB / 440.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.1477, allocations: 3.938 kB / 440.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-06/0.1477, allocations: 0 / 440.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.1478, allocations: 0 / 440.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.1478, allocations: 8.031 kB / 440.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.42e-05/0.1478, allocations: 79.31 kB / 440.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1478, allocations: 0 / 440.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004044/0.1482, allocations: 120 kB / 440.9 MB, free: 12.87 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.0007901/0.149, allocations: 310.6 kB / 441.2 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.1492, allocations: 59.34 kB / 441.3 MB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.056e-06/0.1492, allocations: 0 / 441.3 MB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/0.1492, allocations: 59.41 kB / 441.3 MB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.1494, allocations: 11.38 kB / 441.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000197/0.1496, allocations: 84.91 kB / 441.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.1498, allocations: 0.673 MB / 442.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.053e-06/0.1498, allocations: 3.938 kB / 442.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.029e-05/0.1499, allocations: 7.438 kB / 442.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1499, allocations: 4 kB / 442.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of Templates: time 0.006865/0.1567, allocations: 3.386 MB / 445.5 MB, free: 8.203 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.makefile (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)