Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001007/0.001007, allocations: 199.1 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 226.5 MB / 244.1 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000722/0.0007222, allocations: 94.83 kB / 296.1 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3233/0.3233, allocations: 44.83 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002402/0.0002402, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3044, allocations: 62.95 MB / 0.5165 GB, free: 37.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.104/0.4085, allocations: 88.54 MB / 0.6029 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.4087, allocations: 63.97 kB / 0.603 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7143/1.123, allocations: 37.7 MB / 0.6398 GB, free: 11.04 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.375e-06/1.123, allocations: 0 / 0.6398 GB, free: 11.04 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/1.123, allocations: 0 / 0.6398 GB, free: 11.04 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.002369/1.125, allocations: 445 kB / 0.6402 GB, free: 10.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/1.126, allocations: 8.031 kB / 0.6402 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.099e-05/1.126, allocations: 12.94 kB / 0.6402 GB, free: 10.53 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.577e-05/1.126, allocations: 164.4 kB / 0.6404 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/1.126, allocations: 4.312 kB / 0.6404 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-06/1.126, allocations: 384 / 0.6404 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.502e-05/1.126, allocations: 34.2 kB / 0.6404 GB, free: 10.29 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/1.126, allocations: 192 / 0.6404 GB, free: 10.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/1.126, allocations: 3.938 kB / 0.6404 GB, free: 10.29 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.126, allocations: 0 / 0.6404 GB, free: 10.29 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/1.126, allocations: 4 kB / 0.6405 GB, free: 10.28 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/1.126, allocations: 149.7 kB / 0.6406 GB, free: 10.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.775e-05/1.126, allocations: 18.58 kB / 0.6406 GB, free: 10.06 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.444e-05/1.126, allocations: 4.859 kB / 0.6406 GB, free: 10.05 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/1.126, allocations: 0 / 0.6406 GB, free: 10.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/1.126, allocations: 64.27 kB / 0.6407 GB, free: 9.973 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/1.126, allocations: 4 kB / 0.6407 GB, free: 9.969 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001683/1.126, allocations: 71.31 kB / 0.6407 GB, free: 9.887 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/1.126, allocations: 77.11 kB / 0.6408 GB, free: 9.793 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.441e-05/1.126, allocations: 93.86 kB / 0.6409 GB, free: 9.691 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/1.126, allocations: 25.7 kB / 0.6409 GB, free: 9.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.432e-05/1.126, allocations: 80.14 kB / 0.641 GB, free: 9.578 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/1.127, allocations: 0 / 0.641 GB, free: 9.578 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/1.127, allocations: 4 kB / 0.641 GB, free: 9.574 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.132e-05/1.127, allocations: 311 kB / 0.6413 GB, free: 9.262 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-06/1.127, allocations: 4 kB / 0.6413 GB, free: 9.258 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-06/1.127, allocations: 3.938 kB / 0.6413 GB, free: 9.254 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.752e-05/1.127, allocations: 68.19 kB / 0.6414 GB, free: 9.172 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.127, allocations: 0 / 0.6414 GB, free: 9.172 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.464e-05/1.127, allocations: 63.41 kB / 0.6414 GB, free: 9.098 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/1.127, allocations: 29.7 kB / 0.6415 GB, free: 9.062 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/1.127, allocations: 0 / 0.6415 GB, free: 9.062 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/1.127, allocations: 3.938 kB / 0.6415 GB, free: 9.059 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/1.127, allocations: 8.094 kB / 0.6415 GB, free: 9.051 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/1.127, allocations: 0 / 0.6415 GB, free: 9.051 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.61e-05/1.127, allocations: 0 / 0.6415 GB, free: 9.051 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/1.127, allocations: 0 / 0.6415 GB, free: 9.051 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 7.544e-05/1.127, allocations: 139.5 kB / 0.6416 GB, free: 8.898 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/1.127, allocations: 0 / 0.6416 GB, free: 8.898 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.376e-05/1.127, allocations: 10.66 kB / 0.6416 GB, free: 8.895 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/1.127, allocations: 3.938 kB / 0.6416 GB, free: 8.891 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.127, allocations: 0 / 0.6416 GB, free: 8.891 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/1.127, allocations: 7.938 kB / 0.6416 GB, free: 8.883 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.579e-05/1.127, allocations: 153.7 kB / 0.6418 GB, free: 8.684 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/1.127, allocations: 0 / 0.6418 GB, free: 8.684 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/1.127, allocations: 0 / 0.6418 GB, free: 8.684 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/1.127, allocations: 0 / 0.6418 GB, free: 8.684 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/1.127, allocations: 3.938 kB / 0.6418 GB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.127, allocations: 0 / 0.6418 GB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/1.127, allocations: 0 / 0.6418 GB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.763e-05/1.127, allocations: 94.83 kB / 0.6419 GB, free: 8.562 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/1.127, allocations: 77.11 kB / 0.642 GB, free: 8.469 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/1.127, allocations: 7.938 kB / 0.642 GB, free: 8.461 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.177e-06/1.127, allocations: 0 / 0.642 GB, free: 8.461 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/1.127, allocations: 0 / 0.642 GB, free: 8.461 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/1.127, allocations: 4 kB / 0.642 GB, free: 8.457 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.872e-05/1.127, allocations: 75.28 kB / 0.642 GB, free: 8.383 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/1.127, allocations: 0 / 0.642 GB, free: 8.383 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00438/1.132, allocations: 1.32 MB / 0.6433 GB, free: 7.062 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.006999/1.139, allocations: 1.222 MB / 0.6445 GB, free: 5.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001395/1.139, allocations: 67.41 kB / 0.6446 GB, free: 5.762 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.139, allocations: 0 / 0.6446 GB, free: 5.762 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.37e-05/1.139, allocations: 55.39 kB / 0.6446 GB, free: 5.695 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/1.139, allocations: 4 kB / 0.6446 GB, free: 5.691 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001845/1.139, allocations: 96.47 kB / 0.6447 GB, free: 5.562 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/1.14, allocations: 0.6692 MB / 0.6454 GB, free: 4.867 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.293e-05/1.14, allocations: 7.438 kB / 0.6454 GB, free: 4.859 MB / 458.7 MB Notification: Performance of SimCode: time 3.4e-07/1.14, allocations: 0 / 0.6454 GB, free: 4.859 MB / 458.7 MB Notification: Performance of Templates: time 0.4706/1.61, allocations: 58.63 MB / 0.7027 GB, free: 98.84 MB / 490.8 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecial.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecial --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Math.Random.TestSpecial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches