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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0017/0.001701, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 221.5 MB / 230.7 MB, free: 7.547 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.0009894/0.0009894, allocations: 92.61 kB / 281.6 MB, free: 5.281 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.2091/0.2091, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.694e-05/1.697e-05, allocations: 4.219 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1301, allocations: 61.92 MB / 0.4947 GB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3922/0.5223, allocations: 86.88 MB / 0.5795 GB, free: 9.668 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/0.5226, allocations: 75.89 kB / 0.5796 GB, free: 9.594 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7194/1.242, allocations: 48.53 MB / 0.627 GB, free: 9.012 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.593e-06/1.242, allocations: 0 / 0.627 GB, free: 9.012 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/1.242, allocations: 4 kB / 0.627 GB, free: 9.008 MB / 442.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.001935/1.244, allocations: 435.9 kB / 0.6274 GB, free: 8.531 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/1.244, allocations: 11.98 kB / 0.6274 GB, free: 8.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/1.244, allocations: 0 / 0.6274 GB, free: 8.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.728e-05/1.244, allocations: 163.1 kB / 0.6276 GB, free: 8.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/1.244, allocations: 0 / 0.6276 GB, free: 8.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/1.244, allocations: 3.953 kB / 0.6276 GB, free: 8.316 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.052e-05/1.244, allocations: 4 kB / 0.6276 GB, free: 8.312 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.992e-05/1.244, allocations: 33.69 kB / 0.6276 GB, free: 8.273 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/1.244, allocations: 0 / 0.6276 GB, free: 8.273 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/1.244, allocations: 0 / 0.6276 GB, free: 8.273 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/1.244, allocations: 0 / 0.6276 GB, free: 8.273 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/1.244, allocations: 122.2 kB / 0.6277 GB, free: 8.117 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.521e-05/1.245, allocations: 22.55 kB / 0.6277 GB, free: 8.086 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.199e-05/1.245, allocations: 4.859 kB / 0.6278 GB, free: 8.078 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/1.245, allocations: 4 kB / 0.6278 GB, free: 8.074 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/1.245, allocations: 64.22 kB / 0.6278 GB, free: 7.996 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/1.245, allocations: 3.938 kB / 0.6278 GB, free: 7.992 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001669/1.245, allocations: 37.75 kB / 0.6279 GB, free: 7.949 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/1.245, allocations: 77.11 kB / 0.6279 GB, free: 7.855 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.203e-05/1.245, allocations: 85 kB / 0.628 GB, free: 7.766 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/1.245, allocations: 25.7 kB / 0.628 GB, free: 7.734 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/1.245, allocations: 84.17 kB / 0.6281 GB, free: 7.648 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/1.245, allocations: 0 / 0.6281 GB, free: 7.648 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-06/1.245, allocations: 4 kB / 0.6281 GB, free: 7.645 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.922e-05/1.245, allocations: 310.8 kB / 0.6284 GB, free: 7.332 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/1.245, allocations: 7.938 kB / 0.6284 GB, free: 7.324 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-06/1.245, allocations: 0 / 0.6284 GB, free: 7.324 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.611e-05/1.245, allocations: 4 kB / 0.6284 GB, free: 7.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.245, allocations: 0 / 0.6284 GB, free: 7.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.614e-05/1.245, allocations: 37.75 kB / 0.6285 GB, free: 7.277 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/1.245, allocations: 33.7 kB / 0.6285 GB, free: 7.238 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/1.245, allocations: 0 / 0.6285 GB, free: 7.238 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/1.245, allocations: 0.8438 kB / 0.6285 GB, free: 7.238 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.708e-06/1.245, allocations: 7.953 kB / 0.6285 GB, free: 7.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/1.245, allocations: 0 / 0.6285 GB, free: 7.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.26e-05/1.245, allocations: 0 / 0.6285 GB, free: 7.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/1.245, allocations: 0 / 0.6285 GB, free: 7.23 MB / 442.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 8.905e-05/1.245, allocations: 130.7 kB / 0.6286 GB, free: 7.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/1.245, allocations: 3.984 kB / 0.6286 GB, free: 7.086 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.44e-05/1.245, allocations: 11.73 kB / 0.6286 GB, free: 7.074 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/1.245, allocations: 0 / 0.6286 GB, free: 7.074 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.245, allocations: 7.891 kB / 0.6287 GB, free: 7.066 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/1.245, allocations: 4 kB / 0.6287 GB, free: 7.062 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.057e-05/1.246, allocations: 122.2 kB / 0.6288 GB, free: 6.906 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/1.246, allocations: 0 / 0.6288 GB, free: 6.906 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-06/1.246, allocations: 0 / 0.6288 GB, free: 6.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/1.246, allocations: 3.938 kB / 0.6288 GB, free: 6.902 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/1.246, allocations: 0 / 0.6288 GB, free: 6.902 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/1.246, allocations: 7.984 kB / 0.6288 GB, free: 6.895 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.246, allocations: 4 kB / 0.6288 GB, free: 6.891 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.549e-05/1.246, allocations: 61.09 kB / 0.6288 GB, free: 6.812 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/1.246, allocations: 77.11 kB / 0.6289 GB, free: 6.719 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/1.246, allocations: 7.922 kB / 0.6289 GB, free: 6.711 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-06/1.246, allocations: 4 kB / 0.6289 GB, free: 6.707 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/1.246, allocations: 3.984 kB / 0.6289 GB, free: 6.703 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/1.246, allocations: 0 / 0.6289 GB, free: 6.703 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.734e-05/1.246, allocations: 83.31 kB / 0.629 GB, free: 6.621 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.246, allocations: 0 / 0.629 GB, free: 6.621 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004323/1.25, allocations: 1.312 MB / 0.6303 GB, free: 5.309 MB / 442.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 0.005938/1.256, allocations: 1.204 MB / 0.6315 GB, free: 4.098 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.975e-05/1.256, allocations: 59.41 kB / 0.6315 GB, free: 4.027 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.256, allocations: 0 / 0.6315 GB, free: 4.027 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.791e-05/1.256, allocations: 55.41 kB / 0.6316 GB, free: 3.961 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.541e-05/1.256, allocations: 9.141 kB / 0.6316 GB, free: 3.953 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000143/1.257, allocations: 44.19 kB / 0.6316 GB, free: 3.887 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/1.257, allocations: 0.6768 MB / 0.6323 GB, free: 3.184 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.769e-06/1.257, allocations: 0 / 0.6323 GB, free: 3.184 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.107e-05/1.257, allocations: 7.438 kB / 0.6323 GB, free: 3.176 MB / 442.7 MB Notification: Performance of SimCode: time 2.5e-07/1.257, allocations: 0 / 0.6323 GB, free: 3.176 MB / 442.7 MB Notification: Performance of Templates: time 0.3323/1.589, allocations: 68.71 MB / 0.6994 GB, free: 115 MB / 0.4948 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