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.0007247/0.0007247, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009744/0.001699, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.000716/0.000716, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008698/0.001586, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.05/1.05, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09037/1.14, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.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.2574/0.2574, allocations: 34.85 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03014/0.2876, allocations: 13.23 MB / 292.6 MB, free: 6.48 MB / 282.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 8.42e-07/8.42e-07, allocations: 0 / 293.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.833e-05, allocations: 9.625 kB / 293.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001247/0.001265, allocations: 0.5518 MB / 294.4 MB, free: 4.641 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.003136, allocations: 2.032 MB / 296.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.298e-06/0.003145, allocations: 0 / 296.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.845e-06/0.003148, allocations: 0 / 296.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.81e-07/0.003149, allocations: 0 / 296.4 MB, free: 2.59 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:951:5-1034: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.000762/0.003911, allocations: 466.3 kB / 296.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.562e-05/0.003946, allocations: 0 / 296.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.222e-05/0.003969, allocations: 4 kB / 296.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.099e-05/0.00399, allocations: 11.98 kB / 296.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.406e-05/0.004004, allocations: 3.938 kB / 296.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.208e-06/0.004008, allocations: 0 / 296.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007988/0.004807, allocations: 0.7211 MB / 297.6 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.36e-06/0.004812, allocations: 0 / 297.6 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.192e-05/0.004824, allocations: 4 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004197/0.005244, allocations: 375 kB / 298 MB, free: 1.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.355e-05/0.005257, allocations: 4 kB / 298 MB, free: 1.016 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.005258, allocations: 0 / 298 MB, free: 1.016 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.005274, allocations: 0 / 298 MB, free: 1.016 MB / 282.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.0003556/0.00563, allocations: 361.6 kB / 298.4 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.704e-05/0.005657, allocations: 8.922 kB / 298.4 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.005686, allocations: 8.922 kB / 298.4 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.247e-05/0.005739, allocations: 105.8 kB / 298.5 MB, free: 500 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.455e-06/0.005747, allocations: 4.375 kB / 298.5 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-06/0.005753, allocations: 4.375 kB / 298.5 MB, free: 492 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.611e-05/0.005809, allocations: 55.97 kB / 298.6 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.005815, allocations: 192 / 298.6 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-06/0.00582, allocations: 4.312 kB / 298.6 MB, free: 420 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.005827, allocations: 7.938 kB / 298.6 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.742e-05/0.005844, allocations: 29.69 kB / 298.6 MB, free: 376 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.956e-05/0.005894, allocations: 57.05 kB / 298.7 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.149e-05/0.005925, allocations: 40.28 kB / 298.7 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.668e-05/0.005942, allocations: 34.66 kB / 298.7 MB, free: 204 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-06/0.005945, allocations: 4 kB / 298.7 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.005979, allocations: 56.27 kB / 298.8 MB, free: 128 kB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.005979, allocations: 0 / 298.8 MB, free: 128 kB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001026/0.006082, allocations: 118.7 kB / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.006112, allocations: 81.11 kB / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.548e-05/0.006137, allocations: 93.86 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.575e-06/0.006145, allocations: 25.7 kB / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.78e-05/0.006163, allocations: 80.14 kB / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.006175, allocations: 0.6875 kB / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.006196, allocations: 13.72 kB / 299.2 MB, free: 15.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.006264, allocations: 322.9 kB / 299.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.006277, allocations: 25.7 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.07e-05/0.006287, allocations: 29.7 kB / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.598e-05/0.006323, allocations: 68.19 kB / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.006324, allocations: 0 / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.188e-05/0.006366, allocations: 89.09 kB / 299.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.006394, allocations: 36.2 kB / 299.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.006397, allocations: 0 / 299.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.101e-06/0.006403, allocations: 0 / 299.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.897e-06/0.006407, allocations: 4.094 kB / 299.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.006409, allocations: 0 / 299.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.407e-05/0.006423, allocations: 0 / 299.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.00643, allocations: 7.875 kB / 299.8 MB, free: 15.02 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 5.147e-05/0.006481, allocations: 143.5 kB / 299.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-06/0.006486, allocations: 4 kB / 299.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.191e-06/0.006492, allocations: 3 kB / 299.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.42e-07/0.006493, allocations: 0 / 299.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.006495, allocations: 0 / 299.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.006497, allocations: 0 / 299.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.829e-05/0.006535, allocations: 65.84 kB / 300 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.006536, allocations: 4 kB / 300 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.282e-06/0.006537, allocations: 3.938 kB / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-06/0.006542, allocations: 7.969 kB / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.006543, allocations: 0 / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-06/0.006547, allocations: 0 / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.006547, allocations: 0 / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.006549, allocations: 4 kB / 300 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.267e-05/0.006601, allocations: 112.5 kB / 300.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-06/0.00661, allocations: 0 / 300.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.368e-06/0.006614, allocations: 0 / 300.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-06/0.006621, allocations: 8.031 kB / 300.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.006623, allocations: 0 / 300.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.029e-06/0.006628, allocations: 4.859 kB / 300.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006628, allocations: 0 / 300.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.006867, allocations: 131.6 kB / 300.2 MB, free: 14.48 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.0005012/0.007368, allocations: 338.7 kB / 300.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.705e-05/0.007445, allocations: 123.6 kB / 300.7 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.007448, allocations: 0 / 300.7 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.599e-05/0.007474, allocations: 85.97 kB / 300.8 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.704e-05/0.007511, allocations: 11.92 kB / 300.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001169/0.007628, allocations: 106.8 kB / 300.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.5e-05/0.007653, allocations: 59.48 kB / 300.9 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.709e-06/0.007657, allocations: 0 / 300.9 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.007686, allocations: 59.36 kB / 301 MB, free: 13.61 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007686, allocations: 0 / 301 MB, free: 13.61 MB / 298.7 MB Notification: Performance of Templates: time 0.004668/0.01235, allocations: 3.922 MB / 304.9 MB, free: 9.703 MB / 298.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 -ignoreHideResult -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: 2.9840912353247404]