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.001916/0.001916, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002122/0.002122, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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.585/1.585, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3678/0.3678, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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.463e-06/1.463e-06, allocations: 0 / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.052e-05, allocations: 3.859 kB / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001594/0.001624, allocations: 0.497 MB / 377.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003331/0.004956, allocations: 1.969 MB / 379.7 MB, free: 452 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.477e-05/0.00497, allocations: 0 / 379.7 MB, free: 452 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.116e-05/0.004981, allocations: 4 kB / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.999e-06/0.004986, allocations: 0 / 379.7 MB, free: 448 kB / 346.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.001528/0.006514, allocations: 0.5062 MB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.153e-05/0.006566, allocations: 0 / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.946e-05/0.006605, allocations: 4 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.303e-05/0.006638, allocations: 0 / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.056e-05/0.006659, allocations: 4 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.006668, allocations: 0 / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.007912, allocations: 0.6743 MB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.793e-06/0.007918, allocations: 0 / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.007936, allocations: 0 / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007915/0.008727, allocations: 498.6 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.00873, allocations: 0 / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.008731, allocations: 0 / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.008737, allocations: 7.984 kB / 381.4 MB, free: 14.75 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.0005329/0.00927, allocations: 433.4 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.009307, allocations: 12.03 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.009355, allocations: 0.9375 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.009459, allocations: 108.6 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.009472, allocations: 4.312 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.009483, allocations: 4.375 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.009586, allocations: 55.97 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.009595, allocations: 192 / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.009604, allocations: 4.375 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.009611, allocations: 3.938 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.787e-05/0.009649, allocations: 33.62 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.009799, allocations: 108.6 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.669e-05/0.009885, allocations: 52.77 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.041e-05/0.009926, allocations: 37.48 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.009937, allocations: 0 / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.208e-05/0.01001, allocations: 59.09 kB / 382.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.01001, allocations: 4 kB / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002415/0.01025, allocations: 126.7 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.01032, allocations: 81.05 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.69e-05/0.0104, allocations: 142.2 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.01042, allocations: 25.7 kB / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.01049, allocations: 130.9 kB / 382.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.01051, allocations: 3.938 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.01055, allocations: 23.36 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002644/0.01082, allocations: 496.1 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.334e-05/0.01085, allocations: 29.7 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.24e-05/0.01087, allocations: 29.83 kB / 383.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.355e-05/0.01095, allocations: 63.09 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01095, allocations: 0 / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001037/0.01105, allocations: 97.03 kB / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/0.01109, allocations: 29.7 kB / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.01109, allocations: 4 kB / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.01111, allocations: 0 / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.01111, allocations: 0 / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.944e-06/0.01111, allocations: 3.938 kB / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.419e-05/0.01113, allocations: 4.094 kB / 383.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.01113, allocations: 0 / 383.5 MB, free: 12.28 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 0.0001335/0.01127, allocations: 186.3 kB / 383.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.01128, allocations: 3.953 kB / 383.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.052e-05/0.01129, allocations: 7 kB / 383.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.01129, allocations: 3.938 kB / 383.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01129, allocations: 0 / 383.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.0113, allocations: 3.938 kB / 383.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.01166, allocations: 104.6 kB / 383.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01166, allocations: 0 / 383.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-06/0.01166, allocations: 7.984 kB / 383.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.01166, allocations: 4 kB / 383.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.01167, allocations: 4 kB / 383.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01168, allocations: 4 kB / 383.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.01168, allocations: 3.938 kB / 383.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.01184, allocations: 127.8 kB / 384 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-06/0.01185, allocations: 8 kB / 384 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.01186, allocations: 0 / 384 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-06/0.01187, allocations: 0 / 384 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.01188, allocations: 0 / 384 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.01189, allocations: 4 kB / 384 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.769e-05/0.01196, allocations: 127.2 kB / 384.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01196, allocations: 0 / 384.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004015/0.01236, allocations: 131.6 kB / 384.2 MB, free: 11.48 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.0008935/0.01325, allocations: 333.4 kB / 384.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001613/0.01341, allocations: 134.4 kB / 384.7 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01342, allocations: 0 / 384.7 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.856e-05/0.01349, allocations: 88.8 kB / 384.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.01362, allocations: 7.875 kB / 384.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.01386, allocations: 118.5 kB / 384.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.476e-05/0.01391, allocations: 55.36 kB / 385 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.28e-06/0.01392, allocations: 0 / 385 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/0.01393, allocations: 16.62 kB / 385 MB, free: 10.64 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01393, allocations: 0 / 385 MB, free: 10.64 MB / 362.7 MB Notification: Performance of Templates: time 0.00832/0.02225, allocations: 3.523 MB / 388.5 MB, free: 7.113 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.003663255018182]