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.001354/0.001354, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001516/0.001516, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.521/1.521, allocations: 177.2 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.864e-06/1.864e-06, allocations: 0 / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.292e-05/3.479e-05, allocations: 5.375 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002721/0.002755, allocations: 1.529 MB / 326.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.005446, allocations: 1.406 MB / 328 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.523e-05/0.005511, allocations: 1.531 kB / 328 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.999e-05/0.005611, allocations: 17.02 kB / 328 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.005713, allocations: 26.72 kB / 328.1 MB, free: 14.56 MB / 302.1 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.001187/0.006901, allocations: 406.2 kB / 328.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.007083, allocations: 130.6 kB / 328.6 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.358e-05/0.007137, allocations: 6.422 kB / 328.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.007255, allocations: 79.98 kB / 328.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005822/0.007837, allocations: 66.98 kB / 328.7 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.007869, allocations: 15.25 kB / 328.7 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008942/0.008763, allocations: 445.2 kB / 329.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.293e-05/0.008846, allocations: 37.64 kB / 329.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.403e-05/0.00892, allocations: 38.17 kB / 329.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000839/0.009759, allocations: 466.2 kB / 329.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.009763, allocations: 0 / 329.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.009765, allocations: 1.188 kB / 329.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.009769, allocations: 0 / 329.7 MB, free: 13.91 MB / 302.1 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.0008939/0.01066, allocations: 447.8 kB / 330.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.0107, allocations: 13.45 kB / 330.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/0.01095, allocations: 33.67 kB / 330.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.01115, allocations: 152 kB / 330.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.01117, allocations: 3.719 kB / 330.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.0112, allocations: 9.562 kB / 330.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.01148, allocations: 123.9 kB / 330.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.0115, allocations: 5 kB / 330.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.01151, allocations: 5.125 kB / 330.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.01152, allocations: 1.125 kB / 330.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.01174, allocations: 69.3 kB / 330.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008023/0.01254, allocations: 479.9 kB / 331 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.01293, allocations: 148.8 kB / 331.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.01308, allocations: 60.23 kB / 331.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.01309, allocations: 2.344 kB / 331.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003167/0.01341, allocations: 153.6 kB / 331.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.01341, allocations: 5.312 kB / 331.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006431/0.01405, allocations: 248.6 kB / 331.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.883e-05/0.01415, allocations: 115.3 kB / 331.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.01437, allocations: 201.5 kB / 331.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.92e-05/0.01443, allocations: 52.78 kB / 332 MB, free: 12.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.95e-05/0.01452, allocations: 107.4 kB / 332.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.01457, allocations: 46.48 kB / 332.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.711e-05/0.01467, allocations: 56.17 kB / 332.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.01485, allocations: 332.4 kB / 332.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.01506, allocations: 97.58 kB / 332.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.01531, allocations: 145.5 kB / 332.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004385/0.01575, allocations: 232.7 kB / 333 MB, free: 11.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01575, allocations: 0 / 333 MB, free: 11.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005911/0.01634, allocations: 308.4 kB / 333.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.01636, allocations: 6.031 kB / 333.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.01637, allocations: 0 / 333.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.01639, allocations: 6.812 kB / 333.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.01657, allocations: 30.89 kB / 333.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.01657, allocations: 0.9375 kB / 333.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.01668, allocations: 27.12 kB / 333.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.0167, allocations: 6.531 kB / 333.4 MB, free: 11.06 MB / 302.1 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.000184/0.01688, allocations: 156.1 kB / 333.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.01692, allocations: 14.47 kB / 333.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.01696, allocations: 17.94 kB / 333.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.01696, allocations: 9.078 kB / 333.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.01697, allocations: 0.9375 kB / 333.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.01697, allocations: 1.125 kB / 333.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.01719, allocations: 147.3 kB / 333.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01719, allocations: 1.156 kB / 333.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.316e-05/0.01725, allocations: 7.656 kB / 333.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.01726, allocations: 1.031 kB / 333.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.01727, allocations: 6.203 kB / 333.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01728, allocations: 1.062 kB / 333.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.01728, allocations: 1.031 kB / 333.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/0.0178, allocations: 249.2 kB / 334 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.01784, allocations: 22.11 kB / 334 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.01788, allocations: 10.09 kB / 334 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.01795, allocations: 8.641 kB / 334 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.01803, allocations: 17.73 kB / 334 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.01804, allocations: 3.281 kB / 334 MB, free: 10.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.0182, allocations: 142.5 kB / 334.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0182, allocations: 96 / 334.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005962/0.01879, allocations: 137.7 kB / 334.3 MB, free: 10.38 MB / 302.1 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.0009819/0.01978, allocations: 358.5 kB / 334.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005336/0.02031, allocations: 180.6 kB / 334.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.02031, allocations: 0 / 334.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.02048, allocations: 58.84 kB / 334.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.02068, allocations: 18.58 kB / 334.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006417/0.02132, allocations: 279.5 kB / 335.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.02146, allocations: 114.7 kB / 335.3 MB, free: 9.766 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.437e-05/0.02154, allocations: 20.59 kB / 335.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.5e-05/0.02159, allocations: 17.41 kB / 335.3 MB, free: 9.75 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.02159, allocations: 0 / 335.3 MB, free: 9.75 MB / 302.1 MB Notification: Performance of Templates: time 0.009231/0.03082, allocations: 3.678 MB / 339 MB, free: 6.914 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.6871088817715645]