Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008794/0.0008794, allocations: 100.3 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2126/0.2126, allocations: 45.16 MB / 383.8 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.415e-05/1.416e-05, allocations: 4 kB / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.09859, allocations: 63.24 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3618/0.4605, allocations: 87.95 MB / 0.5902 GB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.4608, allocations: 66.03 kB / 0.5903 GB, free: 14.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6872/1.148, allocations: 48.66 MB / 0.6378 GB, free: 2.645 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/1.148, allocations: 0 / 0.6378 GB, free: 2.645 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/1.148, allocations: 0 / 0.6378 GB, free: 2.645 MB / 426.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.002017/1.15, allocations: 435.5 kB / 0.6382 GB, free: 2.172 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/1.15, allocations: 12.03 kB / 0.6383 GB, free: 2.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/1.15, allocations: 0 / 0.6383 GB, free: 2.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.589e-05/1.15, allocations: 167 kB / 0.6384 GB, free: 1.957 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/1.15, allocations: 0 / 0.6384 GB, free: 1.957 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/1.15, allocations: 0 / 0.6384 GB, free: 1.957 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.39e-05/1.15, allocations: 8 kB / 0.6384 GB, free: 1.949 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.777e-05/1.15, allocations: 29.64 kB / 0.6384 GB, free: 1.914 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/1.15, allocations: 0 / 0.6384 GB, free: 1.914 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-06/1.15, allocations: 0 / 0.6384 GB, free: 1.914 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/1.15, allocations: 0 / 0.6384 GB, free: 1.914 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.761e-05/1.15, allocations: 137.4 kB / 0.6386 GB, free: 1.746 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.288e-05/1.151, allocations: 23.36 kB / 0.6386 GB, free: 1.715 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.236e-05/1.151, allocations: 4.859 kB / 0.6386 GB, free: 1.707 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.243e-06/1.151, allocations: 0 / 0.6386 GB, free: 1.707 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/1.151, allocations: 60.36 kB / 0.6387 GB, free: 1.633 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/1.151, allocations: 0 / 0.6387 GB, free: 1.633 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001582/1.151, allocations: 41.23 kB / 0.6387 GB, free: 1.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/1.151, allocations: 77.11 kB / 0.6388 GB, free: 1.496 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.751e-05/1.151, allocations: 89.03 kB / 0.6389 GB, free: 1.402 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/1.151, allocations: 29.7 kB / 0.6389 GB, free: 1.367 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.064e-05/1.151, allocations: 84.08 kB / 0.639 GB, free: 1.281 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/1.151, allocations: 0 / 0.639 GB, free: 1.281 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/1.151, allocations: 0 / 0.639 GB, free: 1.281 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.821e-05/1.151, allocations: 310.8 kB / 0.6393 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-06/1.151, allocations: 3.938 kB / 0.6393 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.137e-06/1.151, allocations: 0 / 0.6393 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.033e-05/1.151, allocations: 12 kB / 0.6393 GB, free: 0.957 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/1.151, allocations: 0 / 0.6393 GB, free: 0.957 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.581e-05/1.151, allocations: 41.64 kB / 0.6393 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/1.151, allocations: 29.7 kB / 0.6393 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/1.151, allocations: 0.7031 kB / 0.6393 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/1.151, allocations: 0 / 0.6393 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/1.151, allocations: 0 / 0.6393 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/1.151, allocations: 0 / 0.6393 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.271e-05/1.151, allocations: 0 / 0.6393 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/1.151, allocations: 4 kB / 0.6394 GB, free: 0.8711 MB / 426.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 6.717e-05/1.151, allocations: 130.7 kB / 0.6395 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-06/1.151, allocations: 3.953 kB / 0.6395 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.372e-05/1.151, allocations: 15.69 kB / 0.6395 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/1.151, allocations: 0 / 0.6395 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/1.151, allocations: 0 / 0.6395 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.151, allocations: 0 / 0.6395 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.311e-05/1.151, allocations: 126.2 kB / 0.6396 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.151, allocations: 0 / 0.6396 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-06/1.151, allocations: 0 / 0.6396 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.151, allocations: 11.92 kB / 0.6396 GB, free: 0.543 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/1.152, allocations: 7.953 kB / 0.6396 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.152, allocations: 0 / 0.6396 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.152, allocations: 0 / 0.6396 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.379e-05/1.152, allocations: 60.94 kB / 0.6397 GB, free: 472 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/1.152, allocations: 81.11 kB / 0.6398 GB, free: 372 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/1.152, allocations: 0 / 0.6398 GB, free: 372 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.024e-05/1.152, allocations: 3.953 kB / 0.6398 GB, free: 368 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/1.152, allocations: 4.031 kB / 0.6398 GB, free: 364 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/1.152, allocations: 3.984 kB / 0.6398 GB, free: 360 kB / 426.7 MB Notification: Performance of sorting global known variables: time 2.016e-05/1.152, allocations: 79.09 kB / 0.6399 GB, free: 284 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.152, allocations: 4 kB / 0.6399 GB, free: 280 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.004808/1.157, allocations: 1.308 MB / 0.6411 GB, free: 14.97 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.00676/1.163, allocations: 1.219 MB / 0.6423 GB, free: 13.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/1.163, allocations: 59.39 kB / 0.6424 GB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.163, allocations: 0 / 0.6424 GB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.657e-05/1.164, allocations: 58.53 kB / 0.6424 GB, free: 13.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.526e-05/1.164, allocations: 128 / 0.6424 GB, free: 13.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001664/1.164, allocations: 44.08 kB / 0.6425 GB, free: 13.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/1.164, allocations: 0.6768 MB / 0.6431 GB, free: 12.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.36e-06/1.164, allocations: 0 / 0.6431 GB, free: 12.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.132e-05/1.164, allocations: 11.44 kB / 0.6432 GB, free: 12.83 MB / 442.7 MB Notification: Performance of SimCode: time 3.988e-06/1.164, allocations: 0 / 0.6432 GB, free: 12.83 MB / 442.7 MB Notification: Performance of Templates: time 0.1092/1.273, allocations: 68.84 MB / 0.7104 GB, free: 7.891 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Math.Random.TestSpecial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches