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.001023/0.001023, allocations: 99.55 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.001122/0.001122, allocations: 177.3 kB / 15.94 MB, free: 228 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.486/1.486, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.3216/0.3216, allocations: 39.99 MB / 310.4 MB, free: 10.11 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.0005559/0.0005563, allocations: 24 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1213, allocations: 57.96 MB / 436.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.0006336/0.1219, allocations: 228.4 kB / 437 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.1249, allocations: 1.959 MB / 438.9 MB, free: 360 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.484e-05/0.1249, allocations: 0 / 438.9 MB, free: 360 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.1249, allocations: 0 / 438.9 MB, free: 360 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.38e-06/0.125, allocations: 3.938 kB / 439 MB, free: 356 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.1268, allocations: 399 kB / 439.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.462e-05/0.1268, allocations: 4 kB / 439.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.687e-05/0.1269, allocations: 3.938 kB / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.232e-05/0.1269, allocations: 3.938 kB / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.494e-05/0.1269, allocations: 0 / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.127, allocations: 0 / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.1283, allocations: 0.5889 MB / 439.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.228e-06/0.1283, allocations: 0 / 439.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.1284, allocations: 25.7 kB / 440 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000638/0.129, allocations: 243.6 kB / 440.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1291, allocations: 0 / 440.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1291, allocations: 0 / 440.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1291, allocations: 0 / 440.2 MB, free: 15.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.0005821/0.1297, allocations: 413.3 kB / 440.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.1297, allocations: 8.031 kB / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.1298, allocations: 4 kB / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.1299, allocations: 159.1 kB / 440.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.1299, allocations: 0 / 440.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.1299, allocations: 0 / 440.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.1301, allocations: 37.69 kB / 440.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1301, allocations: 0 / 440.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.1301, allocations: 3.953 kB / 440.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1301, allocations: 0 / 440.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.588e-05/0.1302, allocations: 3.938 kB / 440.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.1303, allocations: 153.7 kB / 441 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.744e-05/0.1304, allocations: 14.58 kB / 441 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.5e-06/0.1304, allocations: 4 kB / 441 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/0.1305, allocations: 60.36 kB / 441 MB, free: 14.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.1305, allocations: 0 / 441 MB, free: 14.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002273/0.1307, allocations: 79.22 kB / 441.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.1308, allocations: 81.06 kB / 441.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.403e-05/0.1309, allocations: 89.86 kB / 441.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.1309, allocations: 25.7 kB / 441.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.1309, allocations: 80.27 kB / 441.4 MB, free: 13.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.1309, allocations: 4 kB / 441.4 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-06/0.131, allocations: 0 / 441.4 MB, free: 13.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1311, allocations: 314.8 kB / 441.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.1311, allocations: 4 kB / 441.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-06/0.1311, allocations: 3.938 kB / 441.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.1311, allocations: 29.7 kB / 441.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1311, allocations: 0 / 441.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.479e-05/0.1312, allocations: 59.41 kB / 441.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.696e-05/0.1313, allocations: 41.73 kB / 441.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.1313, allocations: 3.984 kB / 441.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.1313, allocations: 0 / 441.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.1313, allocations: 3.938 kB / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1313, allocations: 0 / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.1314, allocations: 3.953 kB / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1314, allocations: 0 / 441.9 MB, free: 13.18 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 9.161e-05/0.1315, allocations: 139.5 kB / 442 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.1315, allocations: 0 / 442 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.198e-05/0.1315, allocations: 7.125 kB / 442 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1315, allocations: 0 / 442 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1315, allocations: 4 kB / 442 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1315, allocations: 0 / 442 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.1316, allocations: 153.6 kB / 442.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1317, allocations: 0 / 442.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.1317, allocations: 0 / 442.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1317, allocations: 0 / 442.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.1317, allocations: 4 kB / 442.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1317, allocations: 0 / 442.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.1317, allocations: 4 kB / 442.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.1318, allocations: 102.7 kB / 442.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.1319, allocations: 77.11 kB / 442.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.1319, allocations: 0 / 442.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.103e-05/0.1319, allocations: 0 / 442.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.1319, allocations: 0 / 442.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.1319, allocations: 7.984 kB / 442.3 MB, free: 12.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.447e-05/0.132, allocations: 75.28 kB / 442.4 MB, free: 12.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.132, allocations: 4.031 kB / 442.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004745/0.1324, allocations: 120 kB / 442.5 MB, free: 12.39 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.0007673/0.1332, allocations: 302.7 kB / 442.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.673e-05/0.1333, allocations: 55.41 kB / 442.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.1333, allocations: 8.062 kB / 442.9 MB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.173e-05/0.1334, allocations: 51.41 kB / 442.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.453e-05/0.1335, allocations: 11.89 kB / 443 MB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001714/0.1336, allocations: 86.62 kB / 443 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.1339, allocations: 0.6731 MB / 443.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.404e-06/0.1339, allocations: 0 / 443.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.251e-05/0.1339, allocations: 7.438 kB / 443.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1339, allocations: 0 / 443.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of Templates: time 0.007607/0.1415, allocations: 3.393 MB / 447.1 MB, free: 7.73 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: