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.001036/0.001036, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001473/0.001473, allocations: 160.5 kB / 24.56 MB, free: 16 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 0.963/0.963, allocations: 177 MB / 204.8 MB, free: 5.594 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.2636/0.2636, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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.923e-06/1.923e-06, allocations: 0 / 378.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.395e-05/3.588e-05, allocations: 2.312 kB / 378.8 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001479/0.001515, allocations: 0.5205 MB / 379.3 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008928/0.01044, allocations: 1.981 MB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.126e-05/0.01046, allocations: 0 / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.277e-05/0.01049, allocations: 0 / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.943e-06/0.01049, allocations: 0 / 381.3 MB, free: 15.59 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.001494/0.01199, allocations: 0.51 MB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.656e-05/0.01204, allocations: 4 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.01208, allocations: 4 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.07e-05/0.01211, allocations: 0 / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.131e-05/0.01213, allocations: 3.984 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.01214, allocations: 0 / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009987/0.01314, allocations: 0.6744 MB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.258e-06/0.01315, allocations: 0 / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.01317, allocations: 4 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006724/0.01385, allocations: 494.7 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01385, allocations: 0 / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01385, allocations: 0 / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.01386, allocations: 0 / 382.9 MB, free: 13.91 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.0004696/0.01433, allocations: 441.4 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.01437, allocations: 8.031 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.01441, allocations: 4.875 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.748e-05/0.01449, allocations: 120.6 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.01451, allocations: 384 / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.01452, allocations: 4.375 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.01462, allocations: 59.95 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.01463, allocations: 192 / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.01463, allocations: 384 / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.01464, allocations: 3.938 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.092e-05/0.01466, allocations: 29.7 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.01477, allocations: 108.6 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.8e-05/0.01483, allocations: 56.73 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.01485, allocations: 37.39 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-06/0.01485, allocations: 3.984 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.0149, allocations: 67.16 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.041e-06/0.0149, allocations: 0 / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002021/0.0151, allocations: 110.8 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.01515, allocations: 85.03 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.921e-05/0.0152, allocations: 142.2 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.01521, allocations: 25.7 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.01524, allocations: 134.8 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.01526, allocations: 4.344 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.01529, allocations: 19.5 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.01543, allocations: 492.1 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.634e-05/0.01545, allocations: 29.7 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.639e-05/0.01547, allocations: 25.7 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.257e-05/0.01552, allocations: 67.08 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01552, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.807e-05/0.0156, allocations: 93.06 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.01563, allocations: 36.36 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.01564, allocations: 0 / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.01565, allocations: 4.094 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.819e-06/0.01566, allocations: 3.938 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.01566, allocations: 7.922 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.021e-05/0.01567, allocations: 0 / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.01568, allocations: 0 / 385.1 MB, free: 11.43 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 7.141e-05/0.01575, allocations: 182.3 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-06/0.01576, allocations: 3.938 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.075e-06/0.01576, allocations: 7 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01576, allocations: 0 / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01577, allocations: 0 / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01577, allocations: 11.92 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.3e-05/0.01583, allocations: 112.6 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.01583, allocations: 0 / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-06/0.01583, allocations: 4 kB / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.01583, allocations: 0 / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.01584, allocations: 0 / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.7e-07/0.01584, allocations: 0 / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01584, allocations: 0 / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.292e-05/0.01592, allocations: 135.7 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-06/0.01593, allocations: 4 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.01594, allocations: 0 / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.748e-06/0.01594, allocations: 4.031 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.011e-05/0.01595, allocations: 0 / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.01596, allocations: 4 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.734e-05/0.01598, allocations: 123.1 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01598, allocations: 0 / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002956/0.01628, allocations: 131.6 kB / 385.8 MB, free: 10.63 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.0006258/0.01691, allocations: 346.8 kB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.01703, allocations: 126.5 kB / 386.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01703, allocations: 0 / 386.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.323e-05/0.01706, allocations: 88.8 kB / 386.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.666e-05/0.01716, allocations: 0 / 386.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002045/0.01736, allocations: 122.5 kB / 386.5 MB, free: 9.875 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.835e-05/0.01739, allocations: 51.36 kB / 386.5 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.511e-06/0.0174, allocations: 0 / 386.5 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.69e-05/0.01741, allocations: 12.5 kB / 386.6 MB, free: 9.793 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01741, allocations: 0 / 386.6 MB, free: 9.793 MB / 362.7 MB Notification: Performance of Templates: time 0.006612/0.02403, allocations: 4.135 MB / 390.7 MB, free: 5.66 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.2037046789191663]