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.000967/0.000967, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.226/1.226, allocations: 225.4 MB / 240.1 MB, free: 15.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008706/0.0008706, allocations: 85.88 kB / 292.1 MB, free: 5.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1794/0.1794, allocations: 45.14 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.643e-05/2.651e-05, allocations: 4 kB / 460.4 MB, free: 70.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.103, allocations: 63.24 MB / 0.5114 GB, free: 6.812 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3476/0.4506, allocations: 88.61 MB / 0.5979 GB, free: 5.414 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000189/0.4508, allocations: 67.41 kB / 0.598 GB, free: 5.383 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6537/1.105, allocations: 48.82 MB / 0.6456 GB, free: 8.691 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.643e-06/1.105, allocations: 0 / 0.6456 GB, free: 8.691 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/1.105, allocations: 4 kB / 0.6456 GB, free: 8.688 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.00175/1.106, allocations: 435.4 kB / 0.6461 GB, free: 8.219 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/1.106, allocations: 15.97 kB / 0.6461 GB, free: 8.203 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/1.106, allocations: 4 kB / 0.6461 GB, free: 8.199 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.298e-05/1.107, allocations: 167 kB / 0.6462 GB, free: 7.996 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/1.107, allocations: 0 / 0.6462 GB, free: 7.996 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/1.107, allocations: 0 / 0.6462 GB, free: 7.996 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.129e-05/1.107, allocations: 33.64 kB / 0.6463 GB, free: 7.957 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/1.107, allocations: 0 / 0.6463 GB, free: 7.957 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/1.107, allocations: 0 / 0.6463 GB, free: 7.957 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/1.107, allocations: 3.938 kB / 0.6463 GB, free: 7.953 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.614e-05/1.107, allocations: 4 kB / 0.6463 GB, free: 7.949 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/1.107, allocations: 153.3 kB / 0.6464 GB, free: 7.754 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.395e-05/1.107, allocations: 18.56 kB / 0.6464 GB, free: 7.727 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.271e-05/1.107, allocations: 8.953 kB / 0.6464 GB, free: 7.715 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-06/1.107, allocations: 0 / 0.6464 GB, free: 7.715 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/1.107, allocations: 64.19 kB / 0.6465 GB, free: 7.637 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/1.107, allocations: 0 / 0.6465 GB, free: 7.637 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001388/1.107, allocations: 66.28 kB / 0.6466 GB, free: 7.562 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/1.107, allocations: 77.11 kB / 0.6466 GB, free: 7.469 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.703e-05/1.107, allocations: 88.98 kB / 0.6467 GB, free: 7.375 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/1.107, allocations: 25.7 kB / 0.6468 GB, free: 7.344 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.991e-05/1.107, allocations: 80.14 kB / 0.6468 GB, free: 7.262 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/1.107, allocations: 0 / 0.6468 GB, free: 7.262 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-06/1.107, allocations: 0 / 0.6468 GB, free: 7.262 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.031e-05/1.107, allocations: 314.8 kB / 0.6471 GB, free: 6.945 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.675e-06/1.107, allocations: 4.031 kB / 0.6471 GB, free: 6.941 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.379e-06/1.107, allocations: 0 / 0.6471 GB, free: 6.941 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.715e-05/1.107, allocations: 37.16 kB / 0.6472 GB, free: 6.902 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.107, allocations: 0 / 0.6472 GB, free: 6.902 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.37e-05/1.107, allocations: 59.34 kB / 0.6472 GB, free: 6.832 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/1.107, allocations: 37.69 kB / 0.6473 GB, free: 6.789 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/1.107, allocations: 0 / 0.6473 GB, free: 6.789 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/1.108, allocations: 0 / 0.6473 GB, free: 6.789 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/1.108, allocations: 0 / 0.6473 GB, free: 6.789 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/1.108, allocations: 4.094 kB / 0.6473 GB, free: 6.785 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.285e-05/1.108, allocations: 0 / 0.6473 GB, free: 6.785 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/1.108, allocations: 7.938 kB / 0.6473 GB, free: 6.777 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 5.957e-05/1.108, allocations: 132 kB / 0.6474 GB, free: 6.637 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-06/1.108, allocations: 0 / 0.6474 GB, free: 6.637 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.713e-05/1.108, allocations: 11.08 kB / 0.6474 GB, free: 6.625 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/1.108, allocations: 4 kB / 0.6474 GB, free: 6.621 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/1.108, allocations: 0 / 0.6474 GB, free: 6.621 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/1.108, allocations: 3.984 kB / 0.6474 GB, free: 6.617 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.127e-05/1.108, allocations: 149 kB / 0.6476 GB, free: 6.426 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.108, allocations: 3.953 kB / 0.6476 GB, free: 6.422 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-07/1.108, allocations: 3.938 kB / 0.6476 GB, free: 6.418 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/1.108, allocations: 4 kB / 0.6476 GB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/1.108, allocations: 0 / 0.6476 GB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.108, allocations: 0 / 0.6476 GB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/1.108, allocations: 0 / 0.6476 GB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.47e-05/1.108, allocations: 93.95 kB / 0.6477 GB, free: 6.301 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/1.108, allocations: 89.08 kB / 0.6477 GB, free: 6.195 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/1.108, allocations: 0 / 0.6477 GB, free: 6.195 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-06/1.108, allocations: 0 / 0.6477 GB, free: 6.195 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/1.108, allocations: 7.984 kB / 0.6478 GB, free: 6.188 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/1.108, allocations: 0 / 0.6478 GB, free: 6.188 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.487e-05/1.108, allocations: 75.28 kB / 0.6478 GB, free: 6.113 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/1.108, allocations: 0 / 0.6478 GB, free: 6.113 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003881/1.112, allocations: 1.315 MB / 0.6491 GB, free: 4.805 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.006058/1.118, allocations: 1.206 MB / 0.6503 GB, free: 3.602 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.904e-05/1.118, allocations: 59.39 kB / 0.6503 GB, free: 3.531 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.118, allocations: 4.062 kB / 0.6503 GB, free: 3.527 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.71e-05/1.118, allocations: 63.09 kB / 0.6504 GB, free: 3.457 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.725e-05/1.118, allocations: 4 kB / 0.6504 GB, free: 3.453 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001366/1.118, allocations: 41.06 kB / 0.6504 GB, free: 3.391 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/1.119, allocations: 0.677 MB / 0.6511 GB, free: 2.688 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.899e-06/1.119, allocations: 0 / 0.6511 GB, free: 2.688 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.205e-05/1.119, allocations: 7.438 kB / 0.6511 GB, free: 2.68 MB / 442.7 MB Notification: Performance of SimCode: time 1.423e-06/1.119, allocations: 0 / 0.6511 GB, free: 2.68 MB / 442.7 MB Notification: Performance of Templates: time 0.09066/1.209, allocations: 68.29 MB / 0.7178 GB, free: 14.29 MB / 0.5105 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