Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial") [: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 4.0.0+maint.om/package.mo): time 0.001504/0.001505, allocations: 182.8 kB / 8.521 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 221.4 MB / 230.3 MB, free: 7.652 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009641/0.0009641, allocations: 95.78 kB / 281.2 MB, free: 5.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.181/0.181, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.843e-06/6.883e-06, allocations: 4.219 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1106, allocations: 61.9 MB / 0.4941 GB, free: 1.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3583/0.469, allocations: 86.81 MB / 0.5789 GB, free: 10 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001828/0.4692, allocations: 67.34 kB / 0.5789 GB, free: 9.965 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.878/5.347, allocations: 1.658 GB / 2.237 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.364e-06/5.347, allocations: 0 / 2.237 GB, free: 136.7 MB / 0.4948 GB 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.002917/5.35, allocations: 442.1 kB / 2.237 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/5.35, allocations: 15.84 kB / 2.237 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/5.35, allocations: 7.938 kB / 2.237 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.587e-05/5.35, allocations: 159.1 kB / 2.238 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/5.35, allocations: 0 / 2.238 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/5.35, allocations: 0 / 2.238 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.393e-05/5.35, allocations: 0 / 2.238 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.266e-05/5.35, allocations: 29.61 kB / 2.238 GB, free: 136 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-06/5.35, allocations: 0 / 2.238 GB, free: 136 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/5.35, allocations: 3.906 kB / 2.238 GB, free: 136 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/5.35, allocations: 0 / 2.238 GB, free: 136 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.486e-05/5.35, allocations: 130.1 kB / 2.238 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 2.876e-05/5.35, allocations: 22.45 kB / 2.238 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.169e-05/5.35, allocations: 4.859 kB / 2.238 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-06/5.35, allocations: 0 / 2.238 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/5.35, allocations: 60.27 kB / 2.238 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 2.585e-06/5.35, allocations: 0 / 2.238 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001235/5.35, allocations: 34.94 kB / 2.238 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/5.35, allocations: 80.98 kB / 2.238 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.116e-05/5.35, allocations: 88.98 kB / 2.238 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/5.35, allocations: 25.7 kB / 2.238 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 1.31e-05/5.35, allocations: 80.14 kB / 2.238 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/5.35, allocations: 3.906 kB / 2.238 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/5.35, allocations: 0 / 2.238 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.195e-05/5.351, allocations: 310.8 kB / 2.238 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.203e-06/5.351, allocations: 7.906 kB / 2.238 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-06/5.351, allocations: 3.969 kB / 2.238 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.302e-05/5.351, allocations: 0 / 2.238 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/5.351, allocations: 0 / 2.238 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.17e-05/5.351, allocations: 33.67 kB / 2.238 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/5.351, allocations: 8.891 kB / 2.238 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/5.351, allocations: 3.938 kB / 2.238 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/5.351, allocations: 0 / 2.238 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.203e-06/5.351, allocations: 0 / 2.238 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/5.351, allocations: 8.422 kB / 2.238 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.253e-05/5.351, allocations: 0 / 2.238 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/5.351, allocations: 3.906 kB / 2.238 GB, free: 135.1 MB / 0.4948 GB 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 6.413e-05/5.351, allocations: 130.7 kB / 2.239 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-06/5.351, allocations: 0 / 2.239 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.363e-05/5.351, allocations: 6.953 kB / 2.239 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/5.351, allocations: 0.8438 kB / 2.239 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/5.351, allocations: 0 / 2.239 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/5.351, allocations: 3.984 kB / 2.239 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.12e-05/5.351, allocations: 138 kB / 2.239 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/5.351, allocations: 0 / 2.239 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/5.351, allocations: 0 / 2.239 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/5.351, allocations: 0 / 2.239 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/5.351, allocations: 3.938 kB / 2.239 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/5.351, allocations: 0 / 2.239 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/5.351, allocations: 7.938 kB / 2.239 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.814e-05/5.351, allocations: 68.75 kB / 2.239 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/5.351, allocations: 81.09 kB / 2.239 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/5.351, allocations: 0 / 2.239 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-06/5.351, allocations: 3.969 kB / 2.239 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/5.351, allocations: 0 / 2.239 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/5.351, allocations: 0 / 2.239 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.985e-05/5.351, allocations: 75.28 kB / 2.239 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002252/5.351, allocations: 3.938 kB / 2.239 GB, free: 134.5 MB / 0.4948 GB 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 0.0001053/5.351, allocations: 95.03 kB / 2.239 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.297e-05/5.352, allocations: 29.64 kB / 2.239 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/5.352, allocations: 3.938 kB / 2.239 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.381e-05/5.352, allocations: 29.64 kB / 2.239 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/5.352, allocations: 0 / 2.239 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001292/5.352, allocations: 50.19 kB / 2.239 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/5.352, allocations: 0.6801 MB / 2.24 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/5.352, allocations: 0 / 2.24 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.001573/5.354, allocations: 184.6 kB / 2.24 GB, free: 149.5 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches