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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00134/0.00134, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 161.4 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9645/0.9645, allocations: 177 MB / 205.2 MB, free: 5.027 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2596/0.2596, allocations: 34.86 MB / 296.6 MB, free: 388 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 325.9 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.486e-05, allocations: 3.297 kB / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001033/0.001048, allocations: 0.5544 MB / 326.5 MB, free: 6.527 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.003114, allocations: 1.985 MB / 328.5 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.388e-05/0.003128, allocations: 0 / 328.5 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.296e-05/0.003141, allocations: 7.938 kB / 328.5 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.064e-06/0.003148, allocations: 0 / 328.5 MB, free: 4.512 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:928:5-1011:16:writable] Warning: Pure function 'ModelicaTest.Math.Random.special' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008254/0.003974, allocations: 455 kB / 328.9 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.226e-05/0.004016, allocations: 3.984 kB / 328.9 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.065e-05/0.004047, allocations: 4 kB / 329 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.334e-05/0.00407, allocations: 0 / 329 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.436e-05/0.004084, allocations: 0 / 329 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.922e-06/0.00409, allocations: 0 / 329 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006706/0.004761, allocations: 0.7017 MB / 329.7 MB, free: 3.355 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.155e-06/0.004769, allocations: 7.984 kB / 329.7 MB, free: 3.348 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.169e-05/0.004781, allocations: 0.75 kB / 329.7 MB, free: 3.348 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003747/0.005155, allocations: 462.8 kB / 330.1 MB, free: 2.895 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.005157, allocations: 0 / 330.1 MB, free: 2.895 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.005157, allocations: 0 / 330.1 MB, free: 2.895 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.815e-06/0.00516, allocations: 0 / 330.1 MB, free: 2.895 MB / 298.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.0002326/0.005393, allocations: 325.7 kB / 330.4 MB, free: 2.547 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.626e-05/0.005419, allocations: 8.031 kB / 330.4 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.032e-05/0.005439, allocations: 4.938 kB / 330.4 MB, free: 2.535 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.273e-05/0.005482, allocations: 101.8 kB / 330.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-06/0.005489, allocations: 4.375 kB / 330.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-06/0.005493, allocations: 384 / 330.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.731e-05/0.005551, allocations: 59.95 kB / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.005556, allocations: 192 / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-06/0.005561, allocations: 384 / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.005566, allocations: 3.938 kB / 330.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.444e-05/0.00558, allocations: 33.7 kB / 330.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.229e-05/0.005632, allocations: 53.05 kB / 330.7 MB, free: 2.227 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.637e-05/0.005669, allocations: 52.19 kB / 330.7 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.005683, allocations: 34.56 kB / 330.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-06/0.005686, allocations: 4.062 kB / 330.8 MB, free: 2.113 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.005714, allocations: 60.25 kB / 330.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 4.71e-07/0.005714, allocations: 0 / 330.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 8.675e-05/0.005801, allocations: 114.8 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.005827, allocations: 77.11 kB / 331 MB, free: 1.809 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.732e-05/0.005855, allocations: 93.98 kB / 331.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.005863, allocations: 25.7 kB / 331.1 MB, free: 1.676 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.654e-05/0.00588, allocations: 80.14 kB / 331.2 MB, free: 1.594 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.005895, allocations: 9.297 kB / 331.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/0.005914, allocations: 17.7 kB / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.694e-05/0.005981, allocations: 314.8 kB / 331.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.005994, allocations: 29.7 kB / 331.6 MB, free: 1.211 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.099e-05/0.006005, allocations: 25.7 kB / 331.6 MB, free: 1.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.451e-05/0.006039, allocations: 64.27 kB / 331.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.00604, allocations: 0 / 331.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.277e-05/0.006083, allocations: 97.08 kB / 331.8 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.006104, allocations: 33.7 kB / 331.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/0.006108, allocations: 0 / 331.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.725e-06/0.006115, allocations: 0 / 331.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.213e-06/0.006117, allocations: 0 / 331.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.006119, allocations: 0 / 331.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.855e-06/0.006126, allocations: 0 / 331.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.006131, allocations: 3.938 kB / 331.8 MB, free: 0.9453 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.914e-05/0.00618, allocations: 139.5 kB / 331.9 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-06/0.006185, allocations: 4 kB / 331.9 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.895e-06/0.006193, allocations: 7.031 kB / 332 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.51e-07/0.006194, allocations: 0 / 332 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/0.006195, allocations: 0 / 332 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.006196, allocations: 0 / 332 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.491e-05/0.006231, allocations: 61.84 kB / 332 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.01e-07/0.006232, allocations: 4 kB / 332 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.7e-07/0.006232, allocations: 0 / 332 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-07/0.006233, allocations: 0 / 332 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-06/0.006237, allocations: 3.984 kB / 332 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.81e-07/0.006237, allocations: 3.938 kB / 332 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006238, allocations: 0 / 332 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.53e-05/0.006293, allocations: 128.4 kB / 332.2 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-06/0.006296, allocations: 352 / 332.2 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-06/0.006306, allocations: 4 kB / 332.2 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.207e-06/0.00631, allocations: 0 / 332.2 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-06/0.006319, allocations: 4 kB / 332.2 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-06/0.00632, allocations: 0 / 332.2 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.689e-06/0.006325, allocations: 4.859 kB / 332.2 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006325, allocations: 0 / 332.2 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000198/0.006523, allocations: 127.6 kB / 332.3 MB, free: 408 kB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004828/0.007006, allocations: 329.5 kB / 332.6 MB, free: 84 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.376e-05/0.007089, allocations: 119.7 kB / 332.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.007091, allocations: 0 / 332.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.047e-05/0.007121, allocations: 93.97 kB / 332.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.731e-05/0.007169, allocations: 7.938 kB / 332.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000131/0.0073, allocations: 118.2 kB / 332.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.397e-05/0.007324, allocations: 51.36 kB / 333 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.89e-06/0.007329, allocations: 0 / 333 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.007356, allocations: 51.38 kB / 333 MB, free: 15.55 MB / 314.7 MB Notification: Performance of SimCode: time 4.11e-07/0.007356, allocations: 3.938 kB / 333 MB, free: 15.54 MB / 314.7 MB Notification: Performance of Templates: time 0.004469/0.01183, allocations: 3.921 MB / 337 MB, free: 11.63 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0543690100312233]