Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001145, allocations: 195.5 kB / 16.78 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 226.5 MB / 244.1 MB, free: 6.383 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008102/0.0008103, allocations: 95.42 kB / 296.1 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3006/0.3006, allocations: 44.82 MB / 392.9 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002533/0.0002534, allocations: 11.98 kB / 465.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2831, allocations: 62.95 MB / 0.5165 GB, free: 37.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1032/0.3864, allocations: 89.05 MB / 0.6034 GB, free: 368 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.3866, allocations: 63.97 kB / 0.6035 GB, free: 304 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.084/1.471, allocations: 78.87 MB / 0.6805 GB, free: 1.289 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.471, allocations: 0 / 0.6805 GB, free: 1.289 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/1.471, allocations: 0 / 0.6805 GB, free: 1.289 MB / 490.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.003769/1.475, allocations: 445 kB / 0.6809 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.475, allocations: 16.03 kB / 0.681 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/1.475, allocations: 0.9375 kB / 0.681 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.307e-05/1.475, allocations: 164.4 kB / 0.6811 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/1.475, allocations: 384 / 0.6811 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/1.475, allocations: 384 / 0.6811 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.419e-05/1.475, allocations: 30.27 kB / 0.6811 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/1.475, allocations: 192 / 0.6811 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/1.475, allocations: 3.938 kB / 0.6811 GB, free: 0.543 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/1.475, allocations: 3.938 kB / 0.6811 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.212e-05/1.475, allocations: 8 kB / 0.6812 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/1.475, allocations: 145.7 kB / 0.6813 GB, free: 348 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.875e-05/1.475, allocations: 22.52 kB / 0.6813 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.604e-05/1.475, allocations: 12.89 kB / 0.6813 GB, free: 300 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/1.475, allocations: 0 / 0.6813 GB, free: 300 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/1.475, allocations: 56.27 kB / 0.6814 GB, free: 228 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/1.476, allocations: 0 / 0.6814 GB, free: 228 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001723/1.476, allocations: 75.27 kB / 0.6815 GB, free: 140 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/1.476, allocations: 77.11 kB / 0.6815 GB, free: 44 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2251/1.701, allocations: 94.45 kB / 0.6816 GB, free: 133.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/1.701, allocations: 25.7 kB / 0.6816 GB, free: 133.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.486e-05/1.701, allocations: 80.83 kB / 0.6817 GB, free: 133.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/1.701, allocations: 0.9688 kB / 0.6817 GB, free: 133.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/1.701, allocations: 0 / 0.6817 GB, free: 133.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.91e-05/1.701, allocations: 312.5 kB / 0.682 GB, free: 133.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/1.701, allocations: 2.156 kB / 0.682 GB, free: 133.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.154e-05/1.701, allocations: 3.625 kB / 0.682 GB, free: 133.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.151e-05/1.701, allocations: 61 kB / 0.6821 GB, free: 133 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.701, allocations: 0 / 0.6821 GB, free: 133 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.88e-05/1.701, allocations: 62.53 kB / 0.6821 GB, free: 132.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/1.701, allocations: 32.91 kB / 0.6822 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/1.701, allocations: 2.766 kB / 0.6822 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.701, allocations: 4.656 kB / 0.6822 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/1.701, allocations: 0 / 0.6822 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/1.701, allocations: 2.203 kB / 0.6822 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/1.701, allocations: 0.5312 kB / 0.6822 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/1.701, allocations: 0.9688 kB / 0.6822 GB, free: 132.9 MB / 490.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 5.621e-05/1.701, allocations: 138.1 kB / 0.6823 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-06/1.701, allocations: 2.219 kB / 0.6823 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.433e-05/1.701, allocations: 9.859 kB / 0.6823 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/1.701, allocations: 4.906 kB / 0.6823 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.701, allocations: 1.875 kB / 0.6823 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.701, allocations: 5.406 kB / 0.6823 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.979e-05/1.702, allocations: 146.3 kB / 0.6825 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/1.702, allocations: 0 / 0.6825 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.523e-06/1.702, allocations: 0.875 kB / 0.6825 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/1.702, allocations: 3.312 kB / 0.6825 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/1.702, allocations: 1.219 kB / 0.6825 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.702, allocations: 5.156 kB / 0.6825 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.702, allocations: 1.688 kB / 0.6825 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.014e-05/1.702, allocations: 90.19 kB / 0.6826 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/1.702, allocations: 82.22 kB / 0.6827 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/1.702, allocations: 5.234 kB / 0.6827 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.107e-05/1.702, allocations: 5.016 kB / 0.6827 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.675e-05/1.702, allocations: 3.062 kB / 0.6827 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/1.702, allocations: 2.203 kB / 0.6827 GB, free: 132.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 1.216e-05/1.702, allocations: 77.44 kB / 0.6827 GB, free: 132.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.031e-06/1.702, allocations: 0 / 0.6827 GB, free: 132.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007754/1.71, allocations: 2.168 MB / 0.6849 GB, free: 132.3 MB / 490.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.01166/1.721, allocations: 2.27 MB / 0.6871 GB, free: 132.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/1.721, allocations: 62.05 kB / 0.6871 GB, free: 132.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/1.721, allocations: 1.906 kB / 0.6871 GB, free: 132.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.039e-05/1.721, allocations: 61.31 kB / 0.6872 GB, free: 132.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/1.722, allocations: 3.625 kB / 0.6872 GB, free: 132.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001593/1.722, allocations: 97.94 kB / 0.6873 GB, free: 132 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.063e-05/1.722, allocations: 0.6725 MB / 0.6879 GB, free: 131.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.117e-06/1.722, allocations: 10.5 kB / 0.688 GB, free: 131.3 MB / 490.7 MB Notification: Performance of SimCode: time 2.91e-07/1.722, allocations: 0 / 0.688 GB, free: 131.3 MB / 490.7 MB Notification: Performance of Templates: time 0.1423/1.864, allocations: 103.4 MB / 0.7889 GB, free: 52.39 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributions.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributions --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches