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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.006995/0.006995, allocations: 176.7 kB / 15.12 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.554/1.554, allocations: 194.5 MB / 210.3 MB, free: 7.535 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0017/0.0017, allocations: 116.6 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1763/0.1763, allocations: 40 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008183/0.0008185, allocations: 13.91 kB / 406.1 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1302, allocations: 54.88 MB / 461 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.2575, allocations: 81.69 MB / 0.53 GB, free: 1.496 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.2578, allocations: 67.91 kB / 0.5301 GB, free: 1.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9955/1.253, allocations: 48.64 MB / 0.5776 GB, free: 48.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.286e-06/1.253, allocations: 0 / 0.5776 GB, free: 48.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.782e-06/1.253, allocations: 0 / 0.5776 GB, free: 48.01 MB / 378.7 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.004661/1.258, allocations: 444.8 kB / 0.578 GB, free: 47.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/1.258, allocations: 8.031 kB / 0.578 GB, free: 47.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/1.258, allocations: 11.89 kB / 0.578 GB, free: 47.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.779e-05/1.258, allocations: 163 kB / 0.5782 GB, free: 47.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/1.258, allocations: 0 / 0.5782 GB, free: 47.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/1.258, allocations: 4 kB / 0.5782 GB, free: 47.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.545e-05/1.258, allocations: 25.7 kB / 0.5782 GB, free: 47.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/1.258, allocations: 0 / 0.5782 GB, free: 47.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/1.258, allocations: 4 kB / 0.5782 GB, free: 47.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/1.258, allocations: 0 / 0.5782 GB, free: 47.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.127e-05/1.259, allocations: 11.89 kB / 0.5782 GB, free: 47.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/1.259, allocations: 145.7 kB / 0.5783 GB, free: 47.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.929e-05/1.259, allocations: 22.61 kB / 0.5784 GB, free: 47.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/1.259, allocations: 0 / 0.5784 GB, free: 47.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/1.259, allocations: 56.27 kB / 0.5784 GB, free: 46.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/1.259, allocations: 4 kB / 0.5784 GB, free: 46.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001864/1.259, allocations: 67.39 kB / 0.5785 GB, free: 46.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/1.259, allocations: 77.11 kB / 0.5786 GB, free: 46.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.394e-05/1.259, allocations: 85 kB / 0.5786 GB, free: 46.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/1.259, allocations: 25.7 kB / 0.5787 GB, free: 46.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.721e-05/1.259, allocations: 84.14 kB / 0.5787 GB, free: 46.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/1.259, allocations: 4 kB / 0.5787 GB, free: 46.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-06/1.259, allocations: 0 / 0.5787 GB, free: 46.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.174e-05/1.259, allocations: 318.9 kB / 0.579 GB, free: 46.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.247e-06/1.259, allocations: 0 / 0.579 GB, free: 46.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.511e-06/1.259, allocations: 0 / 0.579 GB, free: 46.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.891e-05/1.259, allocations: 29.7 kB / 0.5791 GB, free: 46.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.259, allocations: 0 / 0.5791 GB, free: 46.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.492e-05/1.259, allocations: 67.33 kB / 0.5791 GB, free: 46.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/1.259, allocations: 29.7 kB / 0.5792 GB, free: 46.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/1.259, allocations: 0 / 0.5792 GB, free: 46.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.259, allocations: 0 / 0.5792 GB, free: 46.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/1.259, allocations: 96 / 0.5792 GB, free: 46.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/1.259, allocations: 4 kB / 0.5792 GB, free: 46.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.584e-05/1.259, allocations: 4 kB / 0.5792 GB, free: 46.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/1.259, allocations: 8 kB / 0.5792 GB, free: 46.09 MB / 378.7 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.169e-05/1.259, allocations: 139.5 kB / 0.5793 GB, free: 45.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/1.26, allocations: 4 kB / 0.5793 GB, free: 45.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.348e-05/1.26, allocations: 11.02 kB / 0.5793 GB, free: 45.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/1.26, allocations: 0 / 0.5793 GB, free: 45.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.26, allocations: 0 / 0.5793 GB, free: 45.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/1.26, allocations: 4 kB / 0.5793 GB, free: 45.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.78e-05/1.26, allocations: 149.6 kB / 0.5795 GB, free: 45.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.26, allocations: 4 kB / 0.5795 GB, free: 45.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-07/1.26, allocations: 0 / 0.5795 GB, free: 45.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.26, allocations: 3.938 kB / 0.5795 GB, free: 45.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/1.26, allocations: 0 / 0.5795 GB, free: 45.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.26, allocations: 0 / 0.5795 GB, free: 45.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.26, allocations: 0 / 0.5795 GB, free: 45.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.616e-05/1.26, allocations: 103 kB / 0.5796 GB, free: 45.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/1.26, allocations: 77.11 kB / 0.5797 GB, free: 45.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/1.26, allocations: 0 / 0.5797 GB, free: 45.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.152e-05/1.26, allocations: 4 kB / 0.5797 GB, free: 45.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/1.26, allocations: 0 / 0.5797 GB, free: 45.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/1.26, allocations: 3.984 kB / 0.5797 GB, free: 45.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.948e-05/1.26, allocations: 79.28 kB / 0.5797 GB, free: 45.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/1.26, allocations: 0 / 0.5797 GB, free: 45.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006892/1.267, allocations: 1.312 MB / 0.581 GB, free: 44.1 MB / 378.7 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.01348/1.28, allocations: 1.191 MB / 0.5822 GB, free: 42.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/1.281, allocations: 63.41 kB / 0.5822 GB, free: 42.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.281, allocations: 4.062 kB / 0.5823 GB, free: 42.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.982e-05/1.281, allocations: 51.41 kB / 0.5823 GB, free: 42.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/1.281, allocations: 9.828 kB / 0.5823 GB, free: 42.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001879/1.281, allocations: 83.12 kB / 0.5824 GB, free: 42.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/1.281, allocations: 0.6731 MB / 0.583 GB, free: 41.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.653e-06/1.281, allocations: 0 / 0.583 GB, free: 41.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/1.281, allocations: 7.438 kB / 0.5831 GB, free: 41.94 MB / 378.7 MB Notification: Performance of SimCode: time 8.01e-07/1.281, allocations: 4 kB / 0.5831 GB, free: 41.93 MB / 378.7 MB Notification: Performance of Templates: time 0.0999/1.381, allocations: 68.15 MB / 0.6496 GB, free: 5.672 MB / 410.7 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)