Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial.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.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, allocations: 177.7 kB / 8.363 MB, free: 0.7148 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.971/1.971, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 84.16 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3356/0.3356, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.193e-05/2.207e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4013, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.5622, allocations: 85.82 MB / 0.5497 GB, free: 13.5 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.5625, allocations: 71.95 kB / 0.5498 GB, free: 13.43 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.192/1.755, allocations: 48.46 MB / 0.5971 GB, free: 12.91 MB / 443.1 MB Notification: Performance of FrontEnd: time 1.763e-06/1.755, allocations: 0 / 0.5971 GB, free: 12.91 MB / 443.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/1.755, allocations: 0 / 0.5971 GB, free: 12.91 MB / 443.1 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.002916/1.758, allocations: 432 kB / 0.5975 GB, free: 12.44 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/1.758, allocations: 12.03 kB / 0.5975 GB, free: 12.43 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/1.758, allocations: 0 / 0.5975 GB, free: 12.43 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/1.758, allocations: 171 kB / 0.5977 GB, free: 12.22 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/1.758, allocations: 0 / 0.5977 GB, free: 12.22 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/1.758, allocations: 0 / 0.5977 GB, free: 12.22 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.139e-05/1.758, allocations: 4 kB / 0.5977 GB, free: 12.21 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.283e-05/1.758, allocations: 29.7 kB / 0.5977 GB, free: 12.18 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/1.758, allocations: 0 / 0.5977 GB, free: 12.18 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/1.758, allocations: 0 / 0.5977 GB, free: 12.18 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/1.758, allocations: 0 / 0.5977 GB, free: 12.18 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/1.758, allocations: 134.2 kB / 0.5978 GB, free: 12.01 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.093e-05/1.758, allocations: 19.12 kB / 0.5979 GB, free: 11.98 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.096e-05/1.758, allocations: 8.797 kB / 0.5979 GB, free: 11.97 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-06/1.758, allocations: 7.938 kB / 0.5979 GB, free: 11.96 MB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.917e-05/1.759, allocations: 64.36 kB / 0.5979 GB, free: 11.89 MB / 443.1 MB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/1.759, allocations: 0 / 0.5979 GB, free: 11.89 MB / 443.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001905/1.759, allocations: 29.7 kB / 0.598 GB, free: 11.85 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/1.759, allocations: 81.11 kB / 0.598 GB, free: 11.75 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.216e-05/1.759, allocations: 89 kB / 0.5981 GB, free: 11.66 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/1.759, allocations: 25.7 kB / 0.5982 GB, free: 11.63 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/1.759, allocations: 150.6 kB / 0.5983 GB, free: 11.48 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/1.759, allocations: 4.031 kB / 0.5983 GB, free: 11.48 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/1.759, allocations: 0 / 0.5983 GB, free: 11.48 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/1.759, allocations: 314.8 kB / 0.5986 GB, free: 11.16 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-06/1.759, allocations: 3.938 kB / 0.5986 GB, free: 11.16 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.086e-05/1.759, allocations: 4 kB / 0.5986 GB, free: 11.15 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.566e-05/1.759, allocations: 0 / 0.5986 GB, free: 11.15 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.759, allocations: 0 / 0.5986 GB, free: 11.15 MB / 443.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001018/1.759, allocations: 41.59 kB / 0.5987 GB, free: 11.11 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.837e-05/1.759, allocations: 37.8 kB / 0.5987 GB, free: 11.06 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.759, allocations: 3.984 kB / 0.5987 GB, free: 11.06 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/1.76, allocations: 0 / 0.5987 GB, free: 11.06 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.964e-06/1.76, allocations: 0 / 0.5987 GB, free: 11.06 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/1.76, allocations: 0 / 0.5987 GB, free: 11.06 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/1.76, allocations: 4 kB / 0.5987 GB, free: 11.05 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/1.76, allocations: 0 / 0.5987 GB, free: 11.05 MB / 443.1 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 0.0001009/1.76, allocations: 126.7 kB / 0.5988 GB, free: 10.92 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/1.76, allocations: 7.953 kB / 0.5988 GB, free: 10.91 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.671e-05/1.76, allocations: 7.75 kB / 0.5988 GB, free: 10.9 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/1.76, allocations: 0 / 0.5988 GB, free: 10.9 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.76, allocations: 0 / 0.5988 GB, free: 10.9 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/1.76, allocations: 0 / 0.5988 GB, free: 10.9 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/1.76, allocations: 126.2 kB / 0.599 GB, free: 10.74 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/1.76, allocations: 0 / 0.599 GB, free: 10.74 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-06/1.76, allocations: 0 / 0.599 GB, free: 10.74 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/1.76, allocations: 4 kB / 0.599 GB, free: 10.74 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/1.76, allocations: 0 / 0.599 GB, free: 10.74 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/1.76, allocations: 3.953 kB / 0.599 GB, free: 10.73 MB / 443.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.76, allocations: 0 / 0.599 GB, free: 10.73 MB / 443.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/1.76, allocations: 69.06 kB / 0.599 GB, free: 10.65 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/1.76, allocations: 81.11 kB / 0.5991 GB, free: 10.55 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/1.76, allocations: 0 / 0.5991 GB, free: 10.55 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.311e-05/1.76, allocations: 0 / 0.5991 GB, free: 10.55 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/1.76, allocations: 3.953 kB / 0.5991 GB, free: 10.55 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/1.76, allocations: 0 / 0.5991 GB, free: 10.55 MB / 443.1 MB Notification: Performance of sorting global known variables: time 4.536e-05/1.76, allocations: 87.22 kB / 0.5992 GB, free: 10.46 MB / 443.1 MB Notification: Performance of sort global known variables: time 3.71e-07/1.76, allocations: 4.031 kB / 0.5992 GB, free: 10.46 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.007793/1.768, allocations: 1.308 MB / 0.6005 GB, free: 9.148 MB / 443.1 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 0.01066/1.779, allocations: 1.201 MB / 0.6016 GB, free: 7.934 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.0001378/1.779, allocations: 59.34 kB / 0.6017 GB, free: 7.863 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.779, allocations: 4 kB / 0.6017 GB, free: 7.859 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/1.779, allocations: 51.41 kB / 0.6018 GB, free: 7.797 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/1.779, allocations: 8 kB / 0.6018 GB, free: 7.789 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002045/1.779, allocations: 77.7 kB / 0.6018 GB, free: 7.684 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/1.78, allocations: 0.6729 MB / 0.6025 GB, free: 6.984 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/1.78, allocations: 15.56 kB / 0.6025 GB, free: 6.969 MB / 443.1 MB Notification: Performance of SimCode: time 7.41e-07/1.78, allocations: 0 / 0.6025 GB, free: 6.969 MB / 443.1 MB Notification: Performance of Templates: time 0.7694/2.549, allocations: 68.6 MB / 0.6695 GB, free: 113.5 MB / 475.2 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches