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.001023/0.001023, allocations: 85.81 kB / 21.43 MB, free: 3.066 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.001114/0.001114, allocations: 160.5 kB / 24.82 MB, free: 8.875 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.9883/0.9883, allocations: 177 MB / 205.1 MB, free: 5.465 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.292/0.292, allocations: 34.86 MB / 296.6 MB, free: 0.5 MB / 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.603e-06/1.603e-06, allocations: 0 / 379.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.674e-05, allocations: 6.25 kB / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001004/0.001021, allocations: 0.517 MB / 379.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.003375, allocations: 1.961 MB / 381.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.804e-05/0.003393, allocations: 0 / 381.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.003409, allocations: 0 / 381.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.885e-06/0.003416, allocations: 0 / 381.7 MB, free: 15.33 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.001178/0.004594, allocations: 0.5062 MB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.074e-05/0.004635, allocations: 8 kB / 382.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.965e-05/0.004665, allocations: 3.984 kB / 382.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.476e-05/0.004689, allocations: 0 / 382.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.604e-05/0.004705, allocations: 0 / 382.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.484e-06/0.004713, allocations: 4 kB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000717/0.00543, allocations: 0.6393 MB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.845e-06/0.005438, allocations: 3.938 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.124e-05/0.005449, allocations: 0 / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004873/0.005936, allocations: 474.7 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.005938, allocations: 0 / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.00594, allocations: 4 kB / 383.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.005944, allocations: 0 / 383.3 MB, free: 13.69 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.0002901/0.006234, allocations: 437.4 kB / 383.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.006269, allocations: 16.03 kB / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.237e-05/0.006291, allocations: 4.938 kB / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.636e-05/0.006337, allocations: 108.6 kB / 383.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-06/0.006346, allocations: 384 / 383.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-06/0.006352, allocations: 4.375 kB / 383.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.632e-05/0.006408, allocations: 55.95 kB / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-06/0.006414, allocations: 192 / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-06/0.006419, allocations: 8.312 kB / 384 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.006424, allocations: 3.938 kB / 384 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.407e-05/0.006438, allocations: 25.7 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.766e-05/0.006506, allocations: 93.27 kB / 384.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.558e-05/0.006541, allocations: 52.77 kB / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.006559, allocations: 45.47 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-06/0.006563, allocations: 3.984 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.006593, allocations: 59.09 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.006594, allocations: 0 / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001221/0.006716, allocations: 118.7 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.006745, allocations: 81.11 kB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.104e-05/0.006786, allocations: 146.2 kB / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.006794, allocations: 25.7 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.533e-05/0.00682, allocations: 126.9 kB / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.006834, allocations: 480 / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.00686, allocations: 27.38 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.00696, allocations: 496.1 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/0.006972, allocations: 25.7 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.295e-05/0.006985, allocations: 33.69 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.566e-05/0.007021, allocations: 67.03 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.007022, allocations: 0 / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.11e-05/0.007073, allocations: 93 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.007098, allocations: 29.7 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.007103, allocations: 3.984 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/0.007111, allocations: 4.094 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.007112, allocations: 0 / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.007114, allocations: 0 / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.184e-05/0.007126, allocations: 11.88 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.00713, allocations: 0 / 385.5 MB, free: 11.23 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 6.327e-05/0.007193, allocations: 182.3 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-06/0.007199, allocations: 4 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.127e-06/0.007208, allocations: 3 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.02e-07/0.007208, allocations: 0 / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.00721, allocations: 0 / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.007212, allocations: 4 kB / 385.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.023e-05/0.007262, allocations: 101.2 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.007263, allocations: 0 / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-06/0.007264, allocations: 3.938 kB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-07/0.007264, allocations: 0 / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-06/0.007268, allocations: 0 / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.01e-07/0.007268, allocations: 0 / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.007269, allocations: 4 kB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.049e-05/0.00734, allocations: 135.8 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-06/0.007346, allocations: 4 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-06/0.007355, allocations: 32 / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.849e-06/0.00736, allocations: 8 kB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-06/0.007368, allocations: 0 / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.00737, allocations: 0 / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.56e-05/0.007395, allocations: 119.2 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007395, allocations: 0 / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002613/0.007657, allocations: 123.7 kB / 386.2 MB, free: 10.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.0004889/0.008145, allocations: 342.6 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.224e-05/0.008228, allocations: 126.4 kB / 386.6 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008229, allocations: 0 / 386.6 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.756e-05/0.008257, allocations: 88.8 kB / 386.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.309e-05/0.00834, allocations: 7.938 kB / 386.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001277/0.008468, allocations: 122.6 kB / 386.8 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.64e-05/0.008494, allocations: 55.36 kB / 386.9 MB, free: 9.645 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.851e-06/0.0085, allocations: 0 / 386.9 MB, free: 9.645 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.008757, allocations: 70.2 kB / 387 MB, free: 9.574 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.008757, allocations: 0 / 387 MB, free: 9.574 MB / 362.7 MB Notification: Performance of Templates: time 0.005031/0.01379, allocations: 3.944 MB / 390.9 MB, free: 5.633 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.1655500112101436]