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.002211/0.002211, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.572/1.572, allocations: 226.5 MB / 245.4 MB, free: 8.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007694/0.0007693, allocations: 104 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4712/0.4712, allocations: 44.83 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003277, allocations: 8.219 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.329, allocations: 62.96 MB / 0.5184 GB, free: 37.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1499/0.4789, allocations: 88.54 MB / 0.6049 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.4792, allocations: 71.95 kB / 0.6049 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6073/1.086, allocations: 37.7 MB / 0.6418 GB, free: 10.92 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.634e-06/1.087, allocations: 0 / 0.6418 GB, free: 10.92 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.478e-06/1.087, allocations: 0 / 0.6418 GB, free: 10.92 MB / 458.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.001582/1.088, allocations: 441 kB / 0.6422 GB, free: 10.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/1.088, allocations: 12.03 kB / 0.6422 GB, free: 10.42 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/1.088, allocations: 0.9375 kB / 0.6422 GB, free: 10.42 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.912e-05/1.088, allocations: 164.3 kB / 0.6423 GB, free: 10.22 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/1.088, allocations: 8.312 kB / 0.6424 GB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/1.088, allocations: 4.375 kB / 0.6424 GB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.753e-05/1.088, allocations: 34.19 kB / 0.6424 GB, free: 10.17 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/1.088, allocations: 192 / 0.6424 GB, free: 10.17 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/1.088, allocations: 3.938 kB / 0.6424 GB, free: 10.17 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/1.088, allocations: 0 / 0.6424 GB, free: 10.17 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.625e-05/1.088, allocations: 8 kB / 0.6424 GB, free: 10.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/1.089, allocations: 141.7 kB / 0.6425 GB, free: 9.973 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.945e-05/1.089, allocations: 18.61 kB / 0.6426 GB, free: 9.945 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/1.089, allocations: 12.84 kB / 0.6426 GB, free: 9.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.906e-06/1.089, allocations: 0 / 0.6426 GB, free: 9.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/1.089, allocations: 60.2 kB / 0.6426 GB, free: 9.855 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/1.089, allocations: 0 / 0.6426 GB, free: 9.855 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001788/1.089, allocations: 67.41 kB / 0.6427 GB, free: 9.777 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/1.089, allocations: 81.09 kB / 0.6428 GB, free: 9.68 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.566e-05/1.089, allocations: 93.86 kB / 0.6429 GB, free: 9.578 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/1.089, allocations: 25.7 kB / 0.6429 GB, free: 9.547 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/1.089, allocations: 84.14 kB / 0.643 GB, free: 9.461 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/1.089, allocations: 0 / 0.643 GB, free: 9.461 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-06/1.089, allocations: 0 / 0.643 GB, free: 9.461 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/1.089, allocations: 310.8 kB / 0.6433 GB, free: 9.148 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-06/1.089, allocations: 4.125 kB / 0.6433 GB, free: 9.145 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-06/1.089, allocations: 7.938 kB / 0.6433 GB, free: 9.137 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.478e-05/1.089, allocations: 60.27 kB / 0.6433 GB, free: 9.062 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.089, allocations: 0 / 0.6433 GB, free: 9.062 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.177e-05/1.089, allocations: 63.39 kB / 0.6434 GB, free: 8.988 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/1.089, allocations: 33.7 kB / 0.6434 GB, free: 8.949 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/1.089, allocations: 0 / 0.6434 GB, free: 8.949 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/1.089, allocations: 3.938 kB / 0.6434 GB, free: 8.945 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.153e-06/1.089, allocations: 96 / 0.6434 GB, free: 8.945 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/1.089, allocations: 4 kB / 0.6434 GB, free: 8.941 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.155e-05/1.089, allocations: 0 / 0.6434 GB, free: 8.941 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/1.089, allocations: 4 kB / 0.6434 GB, free: 8.938 MB / 458.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 () * Number of clocked 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.559e-05/1.09, allocations: 131.5 kB / 0.6436 GB, free: 8.793 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-06/1.09, allocations: 3.984 kB / 0.6436 GB, free: 8.789 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.295e-05/1.09, allocations: 10.66 kB / 0.6436 GB, free: 8.785 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.09, allocations: 7.938 kB / 0.6436 GB, free: 8.777 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/1.09, allocations: 3.938 kB / 0.6436 GB, free: 8.773 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/1.09, allocations: 0 / 0.6436 GB, free: 8.773 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.52e-05/1.09, allocations: 145.7 kB / 0.6437 GB, free: 8.582 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/1.09, allocations: 0 / 0.6437 GB, free: 8.582 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/1.09, allocations: 3.938 kB / 0.6437 GB, free: 8.578 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/1.09, allocations: 7.969 kB / 0.6437 GB, free: 8.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/1.09, allocations: 11.94 kB / 0.6437 GB, free: 8.559 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/1.09, allocations: 0 / 0.6437 GB, free: 8.559 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.09, allocations: 0 / 0.6437 GB, free: 8.559 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/1.09, allocations: 94.84 kB / 0.6438 GB, free: 8.441 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/1.09, allocations: 81.09 kB / 0.6439 GB, free: 8.344 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/1.09, allocations: 3.938 kB / 0.6439 GB, free: 8.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-06/1.09, allocations: 0 / 0.6439 GB, free: 8.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/1.09, allocations: 0 / 0.6439 GB, free: 8.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/1.09, allocations: 4 kB / 0.6439 GB, free: 8.336 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.282e-05/1.09, allocations: 75.28 kB / 0.644 GB, free: 8.262 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/1.09, allocations: 0 / 0.644 GB, free: 8.262 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004312/1.094, allocations: 1.316 MB / 0.6453 GB, free: 6.945 MB / 458.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) * Number of clocked states: 0 () * 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.005734/1.1, allocations: 1.217 MB / 0.6465 GB, free: 5.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001223/1.1, allocations: 59.41 kB / 0.6465 GB, free: 5.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.1, allocations: 0 / 0.6465 GB, free: 5.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.111e-05/1.1, allocations: 59.41 kB / 0.6466 GB, free: 5.59 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/1.1, allocations: 0 / 0.6466 GB, free: 5.59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002115/1.101, allocations: 74.75 kB / 0.6467 GB, free: 5.488 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/1.101, allocations: 0.6692 MB / 0.6473 GB, free: 4.793 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.108e-05/1.101, allocations: 0 / 0.6473 GB, free: 4.793 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.447e-05/1.101, allocations: 11.44 kB / 0.6473 GB, free: 4.781 MB / 458.7 MB Notification: Performance of SimCode: time 3.01e-07/1.101, allocations: 0 / 0.6473 GB, free: 4.781 MB / 458.7 MB Notification: Performance of Templates: time 0.3194/1.42, allocations: 63.28 MB / 0.7091 GB, free: 100.5 MB / 490.7 MB 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/jenkins1/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