Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002307/0.002307, allocations: 170.8 kB / 8.147 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.864/1.864, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001283/0.001288, allocations: 92.25 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2625/0.2625, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.164e-05/1.199e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3059, allocations: 58.84 MB / 476.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1511/0.4571, allocations: 86.24 MB / 0.5496 GB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.4574, allocations: 75.41 kB / 0.5497 GB, free: 12.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.655/6.113, allocations: 1.006 GB / 1.555 GB, free: 140.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/6.113, allocations: 0.8438 kB / 1.555 GB, free: 140.3 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.00613/6.119, allocations: 432.3 kB / 1.556 GB, free: 139.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/6.119, allocations: 11.91 kB / 1.556 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/6.119, allocations: 0 / 1.556 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.947e-05/6.119, allocations: 161.1 kB / 1.556 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/6.119, allocations: 3.969 kB / 1.556 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/6.119, allocations: 7.328 kB / 1.556 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.123e-05/6.119, allocations: 3.656 kB / 1.556 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.359e-05/6.119, allocations: 33 kB / 1.556 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/6.119, allocations: 3.938 kB / 1.556 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/6.119, allocations: 3.906 kB / 1.556 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/6.119, allocations: 0 / 1.556 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001006/6.119, allocations: 124.2 kB / 1.556 GB, free: 139.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.308e-05/6.119, allocations: 26.17 kB / 1.556 GB, free: 139.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.469e-05/6.119, allocations: 4.859 kB / 1.556 GB, free: 139.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/6.12, allocations: 0 / 1.556 GB, free: 139.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/6.12, allocations: 61.8 kB / 1.556 GB, free: 139.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/6.12, allocations: 3.969 kB / 1.556 GB, free: 139.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001278/6.12, allocations: 25.7 kB / 1.556 GB, free: 139.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/6.12, allocations: 81.08 kB / 1.556 GB, free: 139.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.844e-05/6.12, allocations: 90.98 kB / 1.556 GB, free: 139.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/6.12, allocations: 25.7 kB / 1.556 GB, free: 139.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.482e-05/6.12, allocations: 150.6 kB / 1.556 GB, free: 139 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/6.12, allocations: 3.906 kB / 1.556 GB, free: 139 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-06/6.12, allocations: 0 / 1.556 GB, free: 139 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.078e-05/6.12, allocations: 317.9 kB / 1.557 GB, free: 138.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-06/6.12, allocations: 0 / 1.557 GB, free: 138.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-06/6.12, allocations: 3.969 kB / 1.557 GB, free: 138.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.672e-05/6.12, allocations: 3.969 kB / 1.557 GB, free: 138.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/6.12, allocations: 0 / 1.557 GB, free: 138.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.826e-05/6.12, allocations: 35.45 kB / 1.557 GB, free: 138.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/6.12, allocations: 7.906 kB / 1.557 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/6.12, allocations: 0 / 1.557 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/6.12, allocations: 0 / 1.557 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-06/6.12, allocations: 0 / 1.557 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/6.12, allocations: 2.016 kB / 1.557 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/6.12, allocations: 0 / 1.557 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/6.12, allocations: 0 / 1.557 GB, free: 138.7 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 () * 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.998e-05/6.12, allocations: 63.25 kB / 1.557 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/6.12, allocations: 0 / 1.557 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.52e-05/6.12, allocations: 4.969 kB / 1.557 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/6.12, allocations: 2.516 kB / 1.557 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/6.12, allocations: 0 / 1.557 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/6.12, allocations: 0 / 1.557 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.593e-05/6.12, allocations: 132.1 kB / 1.557 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/6.12, allocations: 0 / 1.557 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-07/6.12, allocations: 0 / 1.557 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/6.12, allocations: 0 / 1.557 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/6.12, allocations: 3.969 kB / 1.557 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/6.12, allocations: 0 / 1.557 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/6.121, allocations: 0 / 1.557 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.132e-05/6.121, allocations: 66.55 kB / 1.557 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/6.121, allocations: 82.98 kB / 1.557 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/6.121, allocations: 7.781 kB / 1.557 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.298e-05/6.121, allocations: 0 / 1.557 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/6.121, allocations: 3.969 kB / 1.557 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/6.121, allocations: 0 / 1.557 GB, free: 138.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.686e-05/6.121, allocations: 79.22 kB / 1.557 GB, free: 138.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002075/6.121, allocations: 3.969 kB / 1.557 GB, free: 138.2 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) * 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 9.367e-05/6.121, allocations: 93.12 kB / 1.557 GB, free: 138.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.995e-05/6.121, allocations: 29.67 kB / 1.557 GB, free: 138.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/6.121, allocations: 0 / 1.557 GB, free: 138.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.991e-05/6.121, allocations: 33.52 kB / 1.557 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/6.121, allocations: 3.969 kB / 1.557 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001409/6.121, allocations: 71.48 kB / 1.557 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/6.122, allocations: 0.686 MB / 1.558 GB, free: 137.2 MB / 490.7 MB Notification: Performance of SimCode: time 6.32e-07/6.122, allocations: 0 / 1.558 GB, free: 137.2 MB / 490.7 MB Notification: Performance of Templates: time 0.001611/6.123, allocations: 335.5 kB / 1.558 GB, free: 137.2 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches