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.001781/0.001781, allocations: 116 kB / 18.46 MB, free: 4.562 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.002106/0.002106, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.557/1.557, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.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 0.001557/0.001557, allocations: 51.92 kB / 374.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1197, allocations: 53.33 MB / 427.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003268/0.1229, allocations: 1.54 MB / 429 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003385/0.1263, allocations: 1.496 MB / 430.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.1265, allocations: 0 / 430.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.1266, allocations: 15.8 kB / 430.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.1268, allocations: 27.78 kB / 430.6 MB, free: 1.148 MB / 350.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.001644/0.1284, allocations: 386.8 kB / 431 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.1287, allocations: 131.6 kB / 431.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.501e-05/0.1287, allocations: 9.484 kB / 431.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.121e-05/0.1288, allocations: 63.7 kB / 431.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008764/0.1297, allocations: 81.36 kB / 431.2 MB, free: 500 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.1297, allocations: 12 kB / 431.2 MB, free: 488 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008636/0.1306, allocations: 435.2 kB / 431.7 MB, free: 52 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.97e-05/0.1307, allocations: 35.84 kB / 431.7 MB, free: 16 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.227/0.3577, allocations: 65.19 kB / 431.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.3589, allocations: 411.8 kB / 432.2 MB, free: 8.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3589, allocations: 0 / 432.2 MB, free: 8.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3589, allocations: 0 / 432.2 MB, free: 8.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.3589, allocations: 0.875 kB / 432.2 MB, free: 8.32 MB / 350.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.0008615/0.3598, allocations: 0.5166 MB / 432.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.3598, allocations: 8.656 kB / 432.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002622/0.3601, allocations: 32.2 kB / 432.7 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3603, allocations: 211.2 kB / 432.9 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.3603, allocations: 5.359 kB / 432.9 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.3603, allocations: 14.81 kB / 433 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.3606, allocations: 128.9 kB / 433.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3606, allocations: 0.9062 kB / 433.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3606, allocations: 0.8125 kB / 433.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3606, allocations: 3.375 kB / 433.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.3609, allocations: 66.81 kB / 433.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006985/0.3616, allocations: 0.5489 MB / 433.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/0.3619, allocations: 145.8 kB / 433.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.3621, allocations: 55.11 kB / 433.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.3621, allocations: 1.938 kB / 433.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002662/0.3623, allocations: 163.8 kB / 434.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.3623, allocations: 0 / 434.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005956/0.3629, allocations: 251 kB / 434.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.363, allocations: 117.7 kB / 434.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.3632, allocations: 196 kB / 434.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.3632, allocations: 48.09 kB / 434.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.3633, allocations: 111.8 kB / 434.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.3633, allocations: 48.48 kB / 434.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.862e-05/0.3634, allocations: 58.55 kB / 434.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.805e-05/0.3634, allocations: 336.2 kB / 435.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.3636, allocations: 96.45 kB / 435.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.3638, allocations: 133.6 kB / 435.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00037/0.3642, allocations: 224.6 kB / 435.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3642, allocations: 1 kB / 435.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005311/0.3647, allocations: 310 kB / 435.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.3648, allocations: 12.02 kB / 436 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3648, allocations: 1.156 kB / 436 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.3648, allocations: 2.156 kB / 436 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.365, allocations: 29.94 kB / 436 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.365, allocations: 3.156 kB / 436 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.099e-05/0.3651, allocations: 23.78 kB / 436 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.3651, allocations: 15.88 kB / 436 MB, free: 6.098 MB / 350.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.0001263/0.3652, allocations: 153.1 kB / 436.2 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.3652, allocations: 14.84 kB / 436.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.3653, allocations: 14.5 kB / 436.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3653, allocations: 1.062 kB / 436.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.3653, allocations: 1.094 kB / 436.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3653, allocations: 1.156 kB / 436.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.3655, allocations: 221.9 kB / 436.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3655, allocations: 0.9688 kB / 436.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.926e-05/0.3656, allocations: 13.69 kB / 436.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3656, allocations: 1 kB / 436.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.3656, allocations: 2.953 kB / 436.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3656, allocations: 5.188 kB / 436.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3656, allocations: 1.312 kB / 436.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.366, allocations: 255.1 kB / 436.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.366, allocations: 96.23 kB / 436.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.3661, allocations: 12.45 kB / 436.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.3661, allocations: 8.062 kB / 436.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.3662, allocations: 21.81 kB / 436.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.3662, allocations: 4.75 kB / 436.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.3663, allocations: 139.6 kB / 437 MB, free: 5.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3663, allocations: 0 / 437 MB, free: 5.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006706/0.367, allocations: 134.6 kB / 437.1 MB, free: 5.441 MB / 350.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.0008304/0.3678, allocations: 320.3 kB / 437.4 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004877/0.3683, allocations: 181.6 kB / 437.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3683, allocations: 0 / 437.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.3685, allocations: 59.83 kB / 437.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.3687, allocations: 14.67 kB / 437.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005487/0.3692, allocations: 309.2 kB / 438 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.3694, allocations: 0.7179 MB / 438.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.3694, allocations: 17.64 kB / 438.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3694, allocations: 5.094 kB / 438.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of Templates: time 0.008962/0.3784, allocations: 3.948 MB / 442.7 MB, free: 4.02 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins1/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: 8.429603869997663]