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.001031/0.001031, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001083/0.001083, allocations: 160.9 kB / 24.99 MB, free: 8.801 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.095/1.095, allocations: 177 MB / 205.2 MB, free: 5.598 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.2884/0.2884, allocations: 34.86 MB / 296.6 MB, free: 496 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.933e-06/1.933e-06, allocations: 0 / 378.7 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.043e-05/3.236e-05, allocations: 6.25 kB / 378.7 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001956/0.001989, allocations: 0.5185 MB / 379.3 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003079/0.005067, allocations: 1.977 MB / 381.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.005096, allocations: 0 / 381.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.041e-05/0.005117, allocations: 0 / 381.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.093e-06/0.005124, allocations: 0 / 381.2 MB, free: 15.88 MB / 362.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.001606/0.00673, allocations: 0.5061 MB / 381.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.924e-05/0.006789, allocations: 3.984 kB / 381.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.006832, allocations: 4 kB / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.274e-05/0.006865, allocations: 4 kB / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.99e-05/0.006884, allocations: 0 / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.806e-06/0.006893, allocations: 0 / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.0082, allocations: 0.6705 MB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.00821, allocations: 0 / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.008234, allocations: 0 / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008283/0.009062, allocations: 490.8 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.009065, allocations: 3.938 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.009066, allocations: 3.938 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.009072, allocations: 0 / 382.9 MB, free: 14.2 MB / 362.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.0005056/0.009577, allocations: 441.4 kB / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.009626, allocations: 8.031 kB / 383.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.009672, allocations: 4.938 kB / 383.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.145e-05/0.009753, allocations: 112.6 kB / 383.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.009767, allocations: 4.375 kB / 383.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.009778, allocations: 384 / 383.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.009885, allocations: 55.97 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.009893, allocations: 192 / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.009903, allocations: 384 / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.009916, allocations: 3.938 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.268e-05/0.009938, allocations: 29.7 kB / 383.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001089/0.01005, allocations: 112.6 kB / 383.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.323e-05/0.0101, allocations: 56.78 kB / 383.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.364e-05/0.01012, allocations: 33.39 kB / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-06/0.01013, allocations: 4 kB / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.01017, allocations: 63.16 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.01017, allocations: 0 / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002108/0.01038, allocations: 122.7 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.01043, allocations: 84.98 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.933e-05/0.01049, allocations: 142.2 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.0105, allocations: 29.7 kB / 384.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.01054, allocations: 126.9 kB / 384.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.01056, allocations: 352 / 384.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.01059, allocations: 15.38 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.01072, allocations: 0.4924 MB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.826e-05/0.01075, allocations: 29.69 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.751e-05/0.01077, allocations: 29.7 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.588e-05/0.01082, allocations: 63.09 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01083, allocations: 0 / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.978e-05/0.01092, allocations: 101 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.01095, allocations: 33.7 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.01096, allocations: 0 / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.01097, allocations: 0 / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-06/0.01097, allocations: 4.094 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.01098, allocations: 3.938 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.585e-05/0.01099, allocations: 0 / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.011, allocations: 4 kB / 385.1 MB, free: 11.71 MB / 362.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 8.484e-05/0.01109, allocations: 178.3 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.0111, allocations: 4 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.164e-05/0.01111, allocations: 10.97 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01111, allocations: 0 / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.01111, allocations: 0 / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01112, allocations: 3.938 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.444e-05/0.01119, allocations: 112.6 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01119, allocations: 4 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-06/0.0112, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.0112, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.0112, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.01121, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01121, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.01133, allocations: 139.7 kB / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-06/0.01133, allocations: 0 / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.01135, allocations: 0 / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.022e-05/0.01136, allocations: 0 / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.01137, allocations: 15.95 kB / 385.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-06/0.01138, allocations: 0 / 385.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001929/0.01157, allocations: 127.1 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01157, allocations: 0 / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00047/0.01204, allocations: 127.6 kB / 385.8 MB, free: 10.92 MB / 362.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.000835/0.01288, allocations: 339.8 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.013, allocations: 118.5 kB / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.013, allocations: 0 / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.057e-05/0.01304, allocations: 96.72 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.01318, allocations: 4 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/0.0134, allocations: 110.5 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.46e-05/0.01344, allocations: 55.48 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.493e-06/0.01344, allocations: 4 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.579e-05/0.01346, allocations: 8.5 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of SimCode: time 9.21e-07/0.01346, allocations: 0 / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of Templates: time 0.007112/0.02057, allocations: 3.538 MB / 390.1 MB, free: 6.559 MB / 362.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.343531198101118]