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.00117/0.00117, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001309/0.00131, allocations: 177.3 kB / 15.95 MB, free: 216 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.513/1.513, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.3119/0.3119, allocations: 39.99 MB / 310.4 MB, free: 9.664 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.0005528/0.0005529, allocations: 20 kB / 378.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1101, allocations: 57.96 MB / 436.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.0005209/0.1107, allocations: 228.4 kB / 437 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.1133, allocations: 2.212 MB / 439.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.18e-05/0.1133, allocations: 3.938 kB / 439.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.749e-06/0.1133, allocations: 0 / 439.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.398e-06/0.1133, allocations: 0 / 439.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.1145, allocations: 450.9 kB / 439.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.316e-05/0.1145, allocations: 0 / 439.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.239e-05/0.1145, allocations: 3.984 kB / 439.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.148e-05/0.1145, allocations: 0 / 439.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.481e-05/0.1146, allocations: 8 kB / 439.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.548e-06/0.1146, allocations: 0 / 439.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009105/0.1155, allocations: 0.6748 MB / 440.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.528e-06/0.1155, allocations: 0 / 440.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.1155, allocations: 25.7 kB / 440.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004111/0.116, allocations: 307.7 kB / 440.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.116, allocations: 4 kB / 440.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.116, allocations: 0 / 440.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.872e-06/0.116, allocations: 0 / 440.7 MB, free: 14.38 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.0003669/0.1164, allocations: 437 kB / 441.1 MB, free: 13.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.1164, allocations: 12.03 kB / 441.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.192e-05/0.1164, allocations: 3.984 kB / 441.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.018e-05/0.1165, allocations: 159.1 kB / 441.3 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.1165, allocations: 0 / 441.3 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.1165, allocations: 0 / 441.3 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.1e-05/0.1166, allocations: 37.64 kB / 441.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.1166, allocations: 0 / 441.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.1166, allocations: 0 / 441.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1166, allocations: 3.953 kB / 441.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.548e-05/0.1167, allocations: 4 kB / 441.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000109/0.1168, allocations: 153.6 kB / 441.5 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.389e-05/0.1168, allocations: 14.58 kB / 441.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-06/0.1168, allocations: 0 / 441.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.1169, allocations: 64.36 kB / 441.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1169, allocations: 3.938 kB / 441.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001424/0.117, allocations: 67.39 kB / 441.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.1171, allocations: 77.11 kB / 441.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.232e-05/0.1171, allocations: 93.81 kB / 441.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.1171, allocations: 25.7 kB / 441.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.1172, allocations: 80.14 kB / 441.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/0.1172, allocations: 128 / 441.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.853e-06/0.1172, allocations: 4 kB / 441.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.1173, allocations: 314.8 kB / 442.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-06/0.1173, allocations: 3.938 kB / 442.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-06/0.1173, allocations: 4 kB / 442.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.345e-05/0.1174, allocations: 29.7 kB / 442.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1174, allocations: 0 / 442.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.582e-05/0.1174, allocations: 67.27 kB / 442.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.1175, allocations: 33.7 kB / 442.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.1175, allocations: 4.094 kB / 442.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1175, allocations: 0 / 442.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.054e-06/0.1175, allocations: 4 kB / 442.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.1175, allocations: 0 / 442.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.356e-05/0.1175, allocations: 0 / 442.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1176, allocations: 7.953 kB / 442.3 MB, free: 12.45 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 6.807e-05/0.1176, allocations: 135.5 kB / 442.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-06/0.1176, allocations: 4 kB / 442.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.186e-05/0.1177, allocations: 11.11 kB / 442.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.1177, allocations: 4 kB / 442.5 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1177, allocations: 0 / 442.5 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.1177, allocations: 0 / 442.5 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.348e-05/0.1178, allocations: 153.6 kB / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1178, allocations: 0 / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.1178, allocations: 0 / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1178, allocations: 4 kB / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.1178, allocations: 0 / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1178, allocations: 0 / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1178, allocations: 0 / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.263e-05/0.1179, allocations: 102.7 kB / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.1179, allocations: 77.11 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.118, allocations: 0 / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-06/0.118, allocations: 0 / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.118, allocations: 4 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.118, allocations: 0 / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.804e-05/0.118, allocations: 75.28 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.118, allocations: 0 / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004062/0.1184, allocations: 156 kB / 443 MB, free: 11.63 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.0007071/0.1192, allocations: 342.6 kB / 443.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.22e-05/0.1192, allocations: 63.33 kB / 443.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1193, allocations: 4 kB / 443.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.45e-05/0.1193, allocations: 55.47 kB / 443.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.989e-05/0.1194, allocations: 11.89 kB / 443.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001413/0.1195, allocations: 74.77 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.1197, allocations: 0.677 MB / 444.3 MB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.919e-06/0.1198, allocations: 0 / 444.3 MB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.606e-06/0.1198, allocations: 7.438 kB / 444.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1198, allocations: 0 / 444.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of Templates: time 0.006265/0.126, allocations: 3.597 MB / 447.9 MB, free: 6.723 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: