Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions.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.TestTruncatedDistributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009675/0.0009676, 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.006792/0.006792, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.711/1.711, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.434/0.434, allocations: 40 MB / 310.7 MB, free: 9.559 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.0005444/0.0005445, allocations: 16.42 kB / 379.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1286, allocations: 57.96 MB / 437.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.0006765/0.1294, allocations: 230.1 kB / 437.6 MB, free: 1.688 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003607/0.133, allocations: 2.377 MB / 440 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.107e-05/0.1331, allocations: 0 / 440 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.1331, allocations: 0 / 440 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.639e-06/0.1331, allocations: 4 kB / 440 MB, free: 15.28 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:1078:5-1175:31:writable] Warning: Pure function ‘ModelicaTest.Math.Random.truncatedDistributions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.1345, allocations: 462.9 kB / 440.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.98e-05/0.1345, allocations: 0 / 440.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.1346, allocations: 7.984 kB / 440.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.53e-05/0.1346, allocations: 0 / 440.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.726e-05/0.1346, allocations: 0 / 440.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.053e-06/0.1346, allocations: 7.875 kB / 440.5 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.1358, allocations: 0.7291 MB / 441.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.133e-06/0.1358, allocations: 0 / 441.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.1358, allocations: 25.7 kB / 441.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007892/0.1366, allocations: 463.3 kB / 441.7 MB, free: 13.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1367, allocations: 0 / 441.7 MB, free: 13.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1367, allocations: 0 / 441.7 MB, free: 13.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1367, allocations: 0 / 441.7 MB, free: 13.6 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.0004879/0.1372, allocations: 425.3 kB / 442.1 MB, free: 13.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.1372, allocations: 16.02 kB / 442.1 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.1373, allocations: 0.9375 kB / 442.1 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.422e-05/0.1374, allocations: 164.4 kB / 442.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1374, allocations: 384 / 442.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.1374, allocations: 384 / 442.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.68e-05/0.1375, allocations: 37.95 kB / 442.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1375, allocations: 0 / 442.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1375, allocations: 0 / 442.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1375, allocations: 7.938 kB / 442.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.534e-05/0.1376, allocations: 0 / 442.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000113/0.1377, allocations: 157.6 kB / 442.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.12e-05/0.1377, allocations: 18.58 kB / 442.5 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.1377, allocations: 8.953 kB / 442.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.1378, allocations: 0 / 442.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.1378, allocations: 60.2 kB / 442.6 MB, free: 12.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.1378, allocations: 3.938 kB / 442.6 MB, free: 12.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001491/0.138, allocations: 67.39 kB / 442.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.138, allocations: 81.23 kB / 442.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.682e-05/0.1381, allocations: 89.86 kB / 442.8 MB, free: 12.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.1381, allocations: 25.7 kB / 442.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.1381, allocations: 80.14 kB / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.1381, allocations: 4 kB / 442.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.1382, allocations: 9.719 kB / 442.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1383, allocations: 314.8 kB / 443.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-06/0.1383, allocations: 0 / 443.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.214e-06/0.1383, allocations: 7.984 kB / 443.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.817e-05/0.1384, allocations: 64.27 kB / 443.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1384, allocations: 0 / 443.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.786e-05/0.1384, allocations: 63.39 kB / 443.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.1385, allocations: 37.64 kB / 443.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1385, allocations: 0 / 443.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1385, allocations: 3.984 kB / 443.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.1385, allocations: 0 / 443.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.1385, allocations: 3.938 kB / 443.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.364e-05/0.1385, allocations: 0 / 443.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1386, allocations: 4.031 kB / 443.4 MB, free: 11.61 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.136e-05/0.1386, allocations: 139.5 kB / 443.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-06/0.1386, allocations: 3.938 kB / 443.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.582e-05/0.1387, allocations: 3.125 kB / 443.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.1387, allocations: 0 / 443.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1387, allocations: 4 kB / 443.6 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1387, allocations: 0 / 443.6 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.335e-05/0.1388, allocations: 149.6 kB / 443.7 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1388, allocations: 0 / 443.7 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.834e-06/0.1388, allocations: 7.938 kB / 443.7 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1388, allocations: 7.875 kB / 443.7 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.1388, allocations: 4 kB / 443.7 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.1388, allocations: 0 / 443.7 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1388, allocations: 0 / 443.7 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.267e-05/0.1389, allocations: 94.81 kB / 443.8 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.139, allocations: 77.11 kB / 443.9 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.139, allocations: 3.938 kB / 443.9 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-06/0.139, allocations: 4.031 kB / 443.9 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.139, allocations: 0 / 443.9 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.139, allocations: 4 kB / 443.9 MB, free: 11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.253e-05/0.1391, allocations: 83.27 kB / 444 MB, free: 10.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1391, allocations: 0 / 444 MB, free: 10.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004339/0.1395, allocations: 148 kB / 444.1 MB, free: 10.78 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.0007686/0.1403, allocations: 338.6 kB / 444.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.821e-05/0.1404, allocations: 59.34 kB / 444.5 MB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1404, allocations: 3.938 kB / 444.5 MB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.937e-05/0.1404, allocations: 55.41 kB / 444.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.1405, allocations: 4 kB / 444.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001563/0.1407, allocations: 82.69 kB / 444.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.1409, allocations: 0.6772 MB / 445.3 MB, free: 9.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.342e-06/0.141, allocations: 0 / 445.3 MB, free: 9.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.916e-06/0.141, allocations: 7.438 kB / 445.3 MB, free: 9.484 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.141, allocations: 0 / 445.3 MB, free: 9.484 MB / 382.1 MB Notification: Performance of Templates: time 0.006636/0.1476, allocations: 3.499 MB / 448.8 MB, free: 5.984 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) Environment - environmentSimulation: