Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 189.4 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.03/1.03, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008144/0.0008145, allocations: 88.3 kB / 261.4 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1575/0.1575, allocations: 43.49 MB / 352.8 MB, free: 2.008 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.652e-06/6.682e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2222, allocations: 58.83 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1052/0.3274, allocations: 87.66 MB / 0.551 GB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.3277, allocations: 67.97 kB / 0.5511 GB, free: 11.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.478/5.805, allocations: 2.308 GB / 2.859 GB, free: 138.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/5.805, allocations: 0 / 2.859 GB, free: 138.4 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.00335/5.809, allocations: 470.6 kB / 2.86 GB, free: 137.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/5.809, allocations: 7.875 kB / 2.86 GB, free: 137.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/5.809, allocations: 0 / 2.86 GB, free: 137.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.29e-05/5.809, allocations: 164.3 kB / 2.86 GB, free: 137.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/5.809, allocations: 0 / 2.86 GB, free: 137.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-06/5.809, allocations: 0 / 2.86 GB, free: 137.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.773e-05/5.809, allocations: 3.938 kB / 2.86 GB, free: 137.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.791e-05/5.809, allocations: 30.66 kB / 2.86 GB, free: 137.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/5.809, allocations: 7.406 kB / 2.86 GB, free: 137.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/5.809, allocations: 0 / 2.86 GB, free: 137.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/5.809, allocations: 1.125 kB / 2.86 GB, free: 137.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.896e-05/5.809, allocations: 127.3 kB / 2.86 GB, free: 137.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.555e-05/5.809, allocations: 18.56 kB / 2.86 GB, free: 137.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.168e-05/5.809, allocations: 8.797 kB / 2.86 GB, free: 137.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/5.809, allocations: 0.8438 kB / 2.86 GB, free: 137.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/5.809, allocations: 68.39 kB / 2.86 GB, free: 137.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/5.809, allocations: 0 / 2.86 GB, free: 137.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001019/5.809, allocations: 31.41 kB / 2.86 GB, free: 137.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/5.809, allocations: 77.11 kB / 2.86 GB, free: 137.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.447e-05/5.809, allocations: 85 kB / 2.861 GB, free: 137.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/5.809, allocations: 25.7 kB / 2.861 GB, free: 137.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.077e-05/5.809, allocations: 84.41 kB / 2.861 GB, free: 137.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/5.809, allocations: 3.906 kB / 2.861 GB, free: 137.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-06/5.809, allocations: 3.938 kB / 2.861 GB, free: 137.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.848e-05/5.809, allocations: 314.8 kB / 2.861 GB, free: 136.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.623e-06/5.809, allocations: 0.7969 kB / 2.861 GB, free: 136.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.677e-06/5.809, allocations: 3.828 kB / 2.861 GB, free: 136.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.448e-05/5.809, allocations: 0 / 2.861 GB, free: 136.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/5.809, allocations: 3.5 kB / 2.861 GB, free: 136.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.781e-05/5.809, allocations: 43 kB / 2.861 GB, free: 136.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.216e-06/5.81, allocations: 3.969 kB / 2.861 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/5.81, allocations: 1.359 kB / 2.861 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/5.81, allocations: 0 / 2.861 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/5.81, allocations: 0 / 2.861 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/5.81, allocations: 0 / 2.861 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.051e-05/5.81, allocations: 3.906 kB / 2.861 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/5.81, allocations: 3.938 kB / 2.861 GB, free: 136.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 4.469e-05/5.81, allocations: 136.2 kB / 2.861 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-06/5.81, allocations: 0 / 2.861 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.007e-05/5.81, allocations: 3.938 kB / 2.861 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/5.81, allocations: 0 / 2.861 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/5.81, allocations: 7.938 kB / 2.861 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/5.81, allocations: 0 / 2.861 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.765e-05/5.81, allocations: 128.3 kB / 2.861 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/5.81, allocations: 3.438 kB / 2.861 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/5.81, allocations: 0 / 2.861 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/5.81, allocations: 0 / 2.861 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/5.81, allocations: 4.688 kB / 2.861 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-07/5.81, allocations: 0 / 2.861 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/5.81, allocations: 0 / 2.861 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.79e-05/5.81, allocations: 66.7 kB / 2.861 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/5.81, allocations: 81.69 kB / 2.861 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/5.81, allocations: 0.8906 kB / 2.861 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-06/5.81, allocations: 0 / 2.861 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/5.81, allocations: 0 / 2.861 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/5.81, allocations: 0.6094 kB / 2.861 GB, free: 136.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.408e-06/5.81, allocations: 75.28 kB / 2.861 GB, free: 136.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001867/5.81, allocations: 7.844 kB / 2.861 GB, free: 136.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 6.569e-05/5.81, allocations: 95.16 kB / 2.862 GB, free: 136.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 4.905e-05/5.81, allocations: 30.16 kB / 2.862 GB, free: 136.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/5.81, allocations: 0 / 2.862 GB, free: 136.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.106e-05/5.81, allocations: 30.17 kB / 2.862 GB, free: 136 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.041e-05/5.81, allocations: 15.69 kB / 2.862 GB, free: 136 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.816e-05/5.81, allocations: 48.5 kB / 2.862 GB, free: 136 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/5.811, allocations: 0.6857 MB / 2.862 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of SimCode: time 3.61e-07/5.811, allocations: 0 / 2.862 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.001366/5.812, allocations: 192.9 kB / 2.863 GB, free: 151.2 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches