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.0007889/0.0007889, allocations: 80.81 kB / 21.5 MB, free: 2.828 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.0009871/0.0009871, allocations: 164.3 kB / 24.91 MB, free: 9.258 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 1.014/1.014, allocations: 177 MB / 205.2 MB, free: 5.145 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.3268/0.3268, allocations: 34.86 MB / 296.6 MB, free: 460 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.943e-06/1.943e-06, allocations: 0 / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.618e-05, allocations: 2.312 kB / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001631/0.001657, allocations: 0.5111 MB / 326.4 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0029/0.004558, allocations: 1.989 MB / 328.4 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.916e-05/0.004577, allocations: 4 kB / 328.4 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.004592, allocations: 0 / 328.4 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.023e-06/0.004599, allocations: 0 / 328.4 MB, free: 4.629 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.001485/0.006084, allocations: 0.5068 MB / 328.9 MB, free: 4.121 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.817e-05/0.006133, allocations: 0 / 328.9 MB, free: 4.121 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.006171, allocations: 0 / 328.9 MB, free: 4.121 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.341e-05/0.006205, allocations: 7.984 kB / 328.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.898e-05/0.006234, allocations: 3.938 kB / 328.9 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.006242, allocations: 0 / 328.9 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009778/0.00722, allocations: 0.6432 MB / 329.6 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.829e-06/0.00723, allocations: 0 / 329.6 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.975e-05/0.007249, allocations: 4.625 kB / 329.6 MB, free: 3.461 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000602/0.007851, allocations: 470.7 kB / 330 MB, free: 3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.007854, allocations: 4 kB / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.007856, allocations: 0 / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.00786, allocations: 0 / 330 MB, free: 2.996 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.0003699/0.00823, allocations: 313.7 kB / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.008273, allocations: 8.031 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.008302, allocations: 0.9375 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.824e-05/0.008371, allocations: 105.8 kB / 330.5 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.008381, allocations: 384 / 330.5 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.008391, allocations: 384 / 330.5 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.236e-05/0.008473, allocations: 63.89 kB / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.008481, allocations: 192 / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-06/0.008486, allocations: 4.375 kB / 330.5 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.008493, allocations: 3.938 kB / 330.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.028e-05/0.008513, allocations: 29.7 kB / 330.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.578e-05/0.008599, allocations: 53.05 kB / 330.6 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.792e-05/0.008657, allocations: 56.28 kB / 330.7 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.034e-05/0.008677, allocations: 30.56 kB / 330.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-06/0.00868, allocations: 0 / 330.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.008724, allocations: 68.27 kB / 330.8 MB, free: 2.148 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.008725, allocations: 0 / 330.8 MB, free: 2.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001487/0.008874, allocations: 114.8 kB / 330.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.008922, allocations: 81.11 kB / 330.9 MB, free: 1.914 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.044e-05/0.008962, allocations: 89.86 kB / 331 MB, free: 1.816 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.008975, allocations: 25.7 kB / 331.1 MB, free: 1.785 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.577e-05/0.009001, allocations: 80.14 kB / 331.1 MB, free: 1.703 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.009022, allocations: 5.359 kB / 331.1 MB, free: 1.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.009052, allocations: 13.72 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.009148, allocations: 314.8 kB / 331.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.265e-05/0.009171, allocations: 33.7 kB / 331.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.486e-05/0.009185, allocations: 29.64 kB / 331.5 MB, free: 1.289 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.412e-05/0.00924, allocations: 72.38 kB / 331.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.009242, allocations: 0 / 331.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.596e-05/0.009318, allocations: 81.11 kB / 331.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.009355, allocations: 37.69 kB / 331.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.009361, allocations: 0 / 331.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.009373, allocations: 0 / 331.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.709e-06/0.009378, allocations: 0 / 331.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.009381, allocations: 0 / 331.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.739e-05/0.009398, allocations: 3.938 kB / 331.7 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.009406, allocations: 3.938 kB / 331.7 MB, free: 1.055 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 7.118e-05/0.009477, allocations: 139.6 kB / 331.9 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-06/0.009484, allocations: 0 / 331.9 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.129e-05/0.009495, allocations: 7 kB / 331.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.009497, allocations: 0 / 331.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.009499, allocations: 0 / 331.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.009505, allocations: 7.922 kB / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.157e-05/0.009567, allocations: 61.84 kB / 331.9 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.009567, allocations: 0 / 331.9 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-07/0.009568, allocations: 4 kB / 331.9 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.00957, allocations: 0 / 331.9 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-06/0.009574, allocations: 0 / 331.9 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.009575, allocations: 4 kB / 331.9 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.009576, allocations: 0 / 331.9 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.924e-05/0.009675, allocations: 116.5 kB / 332.1 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.525e-06/0.009683, allocations: 8.344 kB / 332.1 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.009695, allocations: 0 / 332.1 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-06/0.009704, allocations: 0 / 332.1 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.817e-06/0.009713, allocations: 0 / 332.1 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.009718, allocations: 7.984 kB / 332.1 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.296e-06/0.009727, allocations: 4.859 kB / 332.1 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009727, allocations: 0 / 332.1 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003866/0.01011, allocations: 127.7 kB / 332.2 MB, free: 0.5117 MB / 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.0008408/0.01095, allocations: 334.8 kB / 332.5 MB, free: 192 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.01107, allocations: 119.7 kB / 332.6 MB, free: 44 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.01107, allocations: 0 / 332.6 MB, free: 44 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.57e-05/0.01113, allocations: 94.03 kB / 332.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.728e-05/0.0112, allocations: 7.844 kB / 332.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000199/0.0114, allocations: 106.2 kB / 332.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.202e-05/0.01144, allocations: 59.34 kB / 332.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.502e-06/0.01144, allocations: 0 / 332.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.979e-05/0.01148, allocations: 51.38 kB / 333 MB, free: 15.66 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01149, allocations: 0 / 333 MB, free: 15.66 MB / 314.7 MB Notification: Performance of Templates: time 0.00662/0.01811, allocations: 3.923 MB / 336.9 MB, free: 11.74 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 -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.089950310997665]