Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 81.81 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 153.7 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 173.3 MB / 200.4 MB, free: 12.9 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 1.469 kB / 318.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.979e-05, allocations: 10.92 kB / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002645/0.002675, allocations: 1.507 MB / 320.4 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.005187, allocations: 1.36 MB / 321.8 MB, free: 1.684 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.744e-05/0.005275, allocations: 0 / 321.8 MB, free: 1.684 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.00539, allocations: 11.19 kB / 321.8 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.0055, allocations: 26.66 kB / 321.8 MB, free: 1.656 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.001613/0.007113, allocations: 397.8 kB / 322.2 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.007375, allocations: 142.2 kB / 322.4 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.953e-05/0.007444, allocations: 7.062 kB / 322.4 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.007596, allocations: 75.67 kB / 322.4 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009126/0.008509, allocations: 66.64 kB / 322.5 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.889e-05/0.008568, allocations: 12.09 kB / 322.5 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.00993, allocations: 431.2 kB / 322.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.01004, allocations: 38.67 kB / 323 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.884e-05/0.01014, allocations: 42.02 kB / 323 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.0112, allocations: 455.7 kB / 323.5 MB, free: 1.02 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.01121, allocations: 4 kB / 323.5 MB, free: 1.016 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.01121, allocations: 0 / 323.5 MB, free: 1.016 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.01122, allocations: 1.281 kB / 323.5 MB, free: 1.016 MB / 286.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.001035/0.01226, allocations: 442.1 kB / 323.9 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.01231, allocations: 10.66 kB / 323.9 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003305/0.01264, allocations: 33.89 kB / 323.9 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.01283, allocations: 154.8 kB / 324.1 MB, free: 484 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.01286, allocations: 9.75 kB / 324.1 MB, free: 480 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.01288, allocations: 9.438 kB / 324.1 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.01321, allocations: 139.7 kB / 324.2 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.01323, allocations: 0.6562 kB / 324.2 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.01325, allocations: 1.375 kB / 324.2 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.01325, allocations: 1.375 kB / 324.2 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.01349, allocations: 60.73 kB / 324.3 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008614/0.01436, allocations: 481.6 kB / 324.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.0148, allocations: 147.4 kB / 324.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.01499, allocations: 60.44 kB / 325 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.01501, allocations: 5.312 kB / 325 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004121/0.01542, allocations: 150.5 kB / 325.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.973e-06/0.01542, allocations: 0 / 325.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008854/0.0163, allocations: 256 kB / 325.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.01644, allocations: 126.4 kB / 325.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/0.01679, allocations: 195.1 kB / 325.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.206e-05/0.01686, allocations: 43.89 kB / 325.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.017, allocations: 107.6 kB / 325.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.744e-05/0.01708, allocations: 43.81 kB / 325.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.01722, allocations: 62 kB / 325.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002971/0.01751, allocations: 335.1 kB / 326.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.01784, allocations: 107.2 kB / 326.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.01817, allocations: 143 kB / 326.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/0.01874, allocations: 222.1 kB / 326.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.01874, allocations: 1.562 kB / 326.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008362/0.01958, allocations: 304.3 kB / 327 MB, free: 14.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.01962, allocations: 6.375 kB / 327 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.01963, allocations: 5.344 kB / 327 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.539e-05/0.01967, allocations: 2.375 kB / 327 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.01988, allocations: 39.52 kB / 327.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.0199, allocations: 2.812 kB / 327.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.02003, allocations: 28.5 kB / 327.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.02006, allocations: 15.22 kB / 327.1 MB, free: 14.46 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.0002225/0.02028, allocations: 148.3 kB / 327.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.02032, allocations: 15.5 kB / 327.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.02036, allocations: 14.78 kB / 327.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.02037, allocations: 1.188 kB / 327.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.02038, allocations: 1.125 kB / 327.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.02038, allocations: 1.688 kB / 327.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.02064, allocations: 154.9 kB / 327.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.02064, allocations: 1.156 kB / 327.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.571e-05/0.02071, allocations: 15.12 kB / 327.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.02071, allocations: 1.094 kB / 327.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.02073, allocations: 7.547 kB / 327.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.02073, allocations: 5.062 kB / 327.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.02073, allocations: 1.125 kB / 327.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.02122, allocations: 235 kB / 327.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.02127, allocations: 22.55 kB / 327.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.02131, allocations: 9.656 kB / 327.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.02138, allocations: 9.328 kB / 327.8 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.02146, allocations: 20.12 kB / 327.8 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.02148, allocations: 5.5 kB / 327.8 MB, free: 14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.02166, allocations: 147.5 kB / 327.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02166, allocations: 0 / 327.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007726/0.02244, allocations: 121.7 kB / 328.1 MB, free: 13.86 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.0009083/0.02335, allocations: 347.1 kB / 328.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006318/0.02398, allocations: 192.2 kB / 328.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.02398, allocations: 1.156 kB / 328.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.02417, allocations: 53.73 kB / 328.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.02437, allocations: 9.922 kB / 328.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006141/0.02498, allocations: 278.5 kB / 328.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.02512, allocations: 109.4 kB / 329 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.396e-05/0.02521, allocations: 23.27 kB / 329 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.5e-05/0.02526, allocations: 18.42 kB / 329.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.02526, allocations: 0 / 329.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of Templates: time 0.009553/0.03481, allocations: 3.593 MB / 332.7 MB, free: 11.98 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.690880496054888]