Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.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.001953/0.001953, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.00234/0.00234, allocations: 160.9 kB / 24.27 MB, free: 172 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.658/1.658, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions") translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.259e-05, allocations: 10.31 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003082/0.003114, allocations: 1.524 MB / 273.7 MB, free: 264 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003021/0.006135, allocations: 1.402 MB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.037e-05/0.006216, allocations: 0 / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.006338, allocations: 15.86 kB / 275.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.006458, allocations: 27.73 kB / 275.2 MB, free: 14.8 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.007891, allocations: 398.5 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.008113, allocations: 139.5 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.008162, allocations: 5.688 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.008282, allocations: 75.8 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008277/0.009109, allocations: 87.34 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.009292, allocations: 12 kB / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008713/0.01016, allocations: 442.9 kB / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.01024, allocations: 35.84 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.691e-05/0.01032, allocations: 43.83 kB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008581/0.01118, allocations: 458.7 kB / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.01119, allocations: 4 kB / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01119, allocations: 0 / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.01119, allocations: 0 / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000935/0.01213, allocations: 456.7 kB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.01217, allocations: 11.98 kB / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.01246, allocations: 36.83 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.01266, allocations: 154.8 kB / 277.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.01269, allocations: 4.375 kB / 277.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.01271, allocations: 12.36 kB / 277.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.01301, allocations: 128.7 kB / 277.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.01302, allocations: 4.125 kB / 277.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.01304, allocations: 8.359 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.01305, allocations: 3.938 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.01328, allocations: 59.89 kB / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009111/0.0142, allocations: 476.7 kB / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.01458, allocations: 143.7 kB / 278.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.01473, allocations: 58.55 kB / 278.4 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.01475, allocations: 4 kB / 278.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003272/0.01507, allocations: 152.7 kB / 278.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.01507, allocations: 0 / 278.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006754/0.01575, allocations: 261.5 kB / 278.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.01586, allocations: 122.8 kB / 278.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.0161, allocations: 187.2 kB / 279.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/0.01616, allocations: 49.69 kB / 279.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.831e-05/0.01626, allocations: 108.6 kB / 279.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.963e-05/0.01632, allocations: 51.55 kB / 279.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-05/0.01642, allocations: 57.69 kB / 279.3 MB, free: 10.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.01662, allocations: 334.8 kB / 279.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.01684, allocations: 104.1 kB / 279.8 MB, free: 9.984 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.01709, allocations: 136 kB / 279.9 MB, free: 9.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005309/0.01762, allocations: 219.8 kB / 280.1 MB, free: 9.613 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.01763, allocations: 4 kB / 280.1 MB, free: 9.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006087/0.01824, allocations: 317.3 kB / 280.4 MB, free: 9.293 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.01826, allocations: 4 kB / 280.4 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.01826, allocations: 3.938 kB / 280.4 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.01829, allocations: 4.094 kB / 280.4 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.01846, allocations: 31.91 kB / 280.5 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.01847, allocations: 4 kB / 280.5 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.01858, allocations: 27.83 kB / 280.5 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.0186, allocations: 12.08 kB / 280.5 MB, free: 9.207 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1],truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * 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.0001864/0.01878, allocations: 149.8 kB / 280.7 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.01882, allocations: 19.84 kB / 280.7 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.479e-05/0.01887, allocations: 17.47 kB / 280.7 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.01887, allocations: 4 kB / 280.7 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.01888, allocations: 0 / 280.7 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.01889, allocations: 3.984 kB / 280.7 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.01911, allocations: 141.3 kB / 280.8 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.01911, allocations: 3.984 kB / 280.8 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.196e-05/0.01917, allocations: 19.94 kB / 280.9 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01918, allocations: 0 / 280.9 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.0192, allocations: 7.984 kB / 280.9 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.0192, allocations: 4.406 kB / 280.9 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.0192, allocations: 0 / 280.9 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.01967, allocations: 238.6 kB / 281.1 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.01971, allocations: 27.78 kB / 281.1 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.01974, allocations: 7.984 kB / 281.1 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.01982, allocations: 15.98 kB / 281.2 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.01989, allocations: 15.92 kB / 281.2 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.0199, allocations: 4 kB / 281.2 MB, free: 8.473 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.02006, allocations: 145.1 kB / 281.3 MB, free: 8.332 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02006, allocations: 0 / 281.3 MB, free: 8.332 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006113/0.02067, allocations: 127.6 kB / 281.4 MB, free: 8.207 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009874/0.02166, allocations: 357.1 kB / 281.8 MB, free: 7.871 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005054/0.02217, allocations: 187.8 kB / 282 MB, free: 7.688 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.02217, allocations: 0 / 282 MB, free: 7.688 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.02233, allocations: 55.97 kB / 282 MB, free: 7.633 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.02256, allocations: 19.92 kB / 282.1 MB, free: 7.613 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006376/0.0232, allocations: 288.7 kB / 282.3 MB, free: 7.301 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.02332, allocations: 107 kB / 282.4 MB, free: 7.176 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.396e-05/0.0234, allocations: 21.47 kB / 282.5 MB, free: 7.156 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.02345, allocations: 16.5 kB / 282.5 MB, free: 7.141 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02345, allocations: 0 / 282.5 MB, free: 7.141 MB / 266.7 MB Notification: Performance of Templates: time 0.01036/0.03381, allocations: 3.747 MB / 286.2 MB, free: 3.406 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.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: 4.674141137045808]