Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9177/0.9177, allocations: 177.1 MB / 206 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.379e-05/1.533e-05, allocations: 2.312 kB / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.001966/0.001982, allocations: 1.562 MB / 275.8 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.003549, allocations: 1.422 MB / 277.2 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.003592, allocations: 0 / 277.2 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.048e-05/0.003673, allocations: 15.8 kB / 277.2 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.147e-05/0.003744, allocations: 23.8 kB / 277.2 MB, free: 1.379 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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.000671/0.004415, allocations: 414.4 kB / 277.6 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.004547, allocations: 135.5 kB / 277.8 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.004585, allocations: 5.688 kB / 277.8 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.59e-05/0.004661, allocations: 79.8 kB / 277.8 MB, free: 0.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003627/0.005024, allocations: 78.45 kB / 277.9 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.005044, allocations: 12 kB / 277.9 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004322/0.005476, allocations: 442.9 kB / 278.4 MB, free: 252 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.327e-05/0.005519, allocations: 35.84 kB / 278.4 MB, free: 216 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.005558, allocations: 47.83 kB / 278.4 MB, free: 168 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.005979, allocations: 430.7 kB / 278.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.00598, allocations: 0 / 278.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005981, allocations: 0 / 278.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.005985, allocations: 0 / 278.9 MB, free: 15.74 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.0005051/0.00649, allocations: 0.542 MB / 279.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.00652, allocations: 8.031 kB / 279.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.00666, allocations: 32.83 kB / 279.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.006767, allocations: 165.9 kB / 279.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.006782, allocations: 8.359 kB / 279.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.006793, allocations: 8.375 kB / 279.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.00692, allocations: 97.2 kB / 279.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.006928, allocations: 3.938 kB / 279.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.006937, allocations: 4 kB / 279.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.006942, allocations: 0 / 279.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.704e-05/0.006979, allocations: 19.92 kB / 279.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.007412, allocations: 0.584 MB / 280.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.007536, allocations: 113.3 kB / 280.4 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.007572, allocations: 35.05 kB / 280.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.007582, allocations: 7.922 kB / 280.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.007712, allocations: 132 kB / 280.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.007713, allocations: 0 / 280.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002249/0.007938, allocations: 149.5 kB / 280.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.00799, allocations: 118.7 kB / 280.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.008126, allocations: 243.4 kB / 281.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.008152, allocations: 49.81 kB / 281.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.008217, allocations: 163.3 kB / 281.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.008252, allocations: 47.67 kB / 281.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.008311, allocations: 63.31 kB / 281.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.008454, allocations: 0.504 MB / 281.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-05/0.008495, allocations: 23.98 kB / 282 MB, free: 12.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.418e-05/0.008559, allocations: 82.67 kB / 282 MB, free: 12.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.833e-05/0.008657, allocations: 111.2 kB / 282.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.00866, allocations: 7.938 kB / 282.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001685/0.008829, allocations: 181.9 kB / 282.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.965e-05/0.008878, allocations: 10.34 kB / 282.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.008884, allocations: 3.938 kB / 282.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.008894, allocations: 4 kB / 282.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.008998, allocations: 47.97 kB / 282.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.009003, allocations: 4 kB / 282.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.393e-05/0.009047, allocations: 19.84 kB / 282.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.009057, allocations: 4 kB / 282.4 MB, free: 11.87 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,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,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 9.112e-05/0.009148, allocations: 196.5 kB / 282.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.009166, allocations: 15.91 kB / 282.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.009193, allocations: 17.45 kB / 282.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.009195, allocations: 0 / 282.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.009196, allocations: 4 kB / 282.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.0092, allocations: 0 / 282.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.681e-05/0.009297, allocations: 125.2 kB / 282.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.009297, allocations: 7.938 kB / 282.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.951e-05/0.009317, allocations: 8 kB / 282.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.009321, allocations: 11.92 kB / 282.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.009327, allocations: 0 / 282.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.009329, allocations: 4 kB / 282.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.00933, allocations: 0 / 282.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.009483, allocations: 195.6 kB / 283 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.009503, allocations: 23.78 kB / 283 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.009522, allocations: 8 kB / 283 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.745e-05/0.009549, allocations: 11.92 kB / 283 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.009586, allocations: 11.98 kB / 283 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.009593, allocations: 7.984 kB / 283.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001327/0.009726, allocations: 169.6 kB / 283.2 MB, free: 11 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009726, allocations: 0 / 283.2 MB, free: 11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002465/0.009972, allocations: 127.6 kB / 283.3 MB, free: 10.87 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.0004997/0.01047, allocations: 354.5 kB / 283.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.01062, allocations: 104.1 kB / 283.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.32e-07/0.01062, allocations: 0 / 283.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/0.01066, allocations: 39.59 kB / 283.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.0108, allocations: 36.09 kB / 283.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.01112, allocations: 272 kB / 284.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.757e-05/0.01115, allocations: 67.84 kB / 284.2 MB, free: 9.977 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.227e-05/0.0112, allocations: 21.66 kB / 284.2 MB, free: 9.957 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.01125, allocations: 82.2 kB / 284.3 MB, free: 9.875 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01125, allocations: 0 / 284.3 MB, free: 9.875 MB / 266.7 MB Notification: Performance of Templates: time 0.006043/0.0173, allocations: 4.293 MB / 288.6 MB, free: 5.605 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.827245150692761]