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.001444/0.001444, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001613/0.001613, allocations: 185 kB / 24.46 MB, free: 3.863 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.463/1.463, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.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 0.001616/0.001616, allocations: 51.92 kB / 371.6 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2552, allocations: 52.18 MB / 423.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002843/0.258, allocations: 1.516 MB / 425.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002331/0.2604, allocations: 1.355 MB / 426.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.928e-05/0.2604, allocations: 0 / 426.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.309e-05/0.2605, allocations: 11.86 kB / 426.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.256e-05/0.2606, allocations: 31.72 kB / 426.7 MB, free: 11.52 MB / 334.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.0009275/0.2615, allocations: 386.9 kB / 427.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.2617, allocations: 135.6 kB / 427.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.2617, allocations: 9.672 kB / 427.3 MB, free: 11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.66e-05/0.2618, allocations: 59.7 kB / 427.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005757/0.2624, allocations: 81.88 kB / 427.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.2624, allocations: 12 kB / 427.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006726/0.2631, allocations: 431.1 kB / 427.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.007e-05/0.2631, allocations: 43.84 kB / 427.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.032e-05/0.2632, allocations: 47.72 kB / 427.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005699/0.2638, allocations: 397.5 kB / 428.3 MB, free: 9.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2638, allocations: 0 / 428.3 MB, free: 9.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2638, allocations: 0 / 428.3 MB, free: 9.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.2638, allocations: 0 / 428.3 MB, free: 9.957 MB / 334.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.0007367/0.2645, allocations: 456.7 kB / 428.7 MB, free: 9.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.2646, allocations: 12.03 kB / 428.8 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.2648, allocations: 32.78 kB / 428.8 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.2649, allocations: 147.8 kB / 428.9 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.265, allocations: 8 kB / 428.9 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.265, allocations: 11.97 kB / 429 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.2652, allocations: 128.2 kB / 429.1 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2652, allocations: 0 / 429.1 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.2653, allocations: 3.984 kB / 429.1 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2653, allocations: 3.938 kB / 429.1 MB, free: 9.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.2655, allocations: 71.83 kB / 429.2 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006908/0.2662, allocations: 476.6 kB / 429.6 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.2665, allocations: 147.7 kB / 429.8 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.2666, allocations: 54.62 kB / 429.8 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.2667, allocations: 7.938 kB / 429.8 MB, free: 8.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002676/0.2669, allocations: 149.9 kB / 430 MB, free: 8.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.2669, allocations: 0 / 430 MB, free: 8.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005864/0.2675, allocations: 265.5 kB / 430.2 MB, free: 7.848 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/0.2676, allocations: 114.8 kB / 430.3 MB, free: 7.711 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.2678, allocations: 199.2 kB / 430.5 MB, free: 7.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.2678, allocations: 41.69 kB / 430.6 MB, free: 7.461 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.032e-05/0.2679, allocations: 116.6 kB / 430.7 MB, free: 7.344 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.268, allocations: 47.69 kB / 430.7 MB, free: 7.297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.509e-05/0.268, allocations: 61.69 kB / 430.8 MB, free: 7.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2682, allocations: 330.8 kB / 431.1 MB, free: 6.898 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.2684, allocations: 95.95 kB / 431.2 MB, free: 6.805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.2686, allocations: 144.2 kB / 431.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.269, allocations: 220.3 kB / 431.6 MB, free: 6.426 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.269, allocations: 0 / 431.6 MB, free: 6.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005389/0.2695, allocations: 305.3 kB / 431.9 MB, free: 6.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2695, allocations: 4 kB / 431.9 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2695, allocations: 0 / 431.9 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2696, allocations: 4 kB / 431.9 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.2697, allocations: 35.97 kB / 431.9 MB, free: 6.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.2697, allocations: 19.91 kB / 431.9 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.052e-05/0.2698, allocations: 23.88 kB / 432 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.2698, allocations: 7.984 kB / 432 MB, free: 6.027 MB / 334.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.0001473/0.27, allocations: 149.9 kB / 432.1 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.27, allocations: 19.89 kB / 432.1 MB, free: 5.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/0.2701, allocations: 13.41 kB / 432.1 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2701, allocations: 0 / 432.1 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.2701, allocations: 7.875 kB / 432.2 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2701, allocations: 8 kB / 432.2 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.2702, allocations: 141.2 kB / 432.3 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2703, allocations: 0 / 432.3 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-05/0.2703, allocations: 15.98 kB / 432.3 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.2703, allocations: 4 kB / 432.3 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.2703, allocations: 0 / 432.3 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2703, allocations: 0 / 432.3 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.2703, allocations: 7.938 kB / 432.3 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/0.2708, allocations: 246.5 kB / 432.6 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.2708, allocations: 23.8 kB / 432.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.2708, allocations: 11.98 kB / 432.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/0.2709, allocations: 4 kB / 432.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.2709, allocations: 23.91 kB / 432.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.271, allocations: 4 kB / 432.6 MB, free: 5.293 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.2711, allocations: 141.1 kB / 432.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2711, allocations: 0 / 432.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004163/0.2715, allocations: 119.7 kB / 432.9 MB, free: 5.039 MB / 334.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.000748/0.2722, allocations: 337.5 kB / 433.2 MB, free: 4.734 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000439/0.2727, allocations: 183.8 kB / 433.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2727, allocations: 4 kB / 433.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.2728, allocations: 55.91 kB / 433.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.273, allocations: 14.8 kB / 433.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005139/0.2735, allocations: 314.6 kB / 433.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.2736, allocations: 110.8 kB / 433.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.2737, allocations: 19.42 kB / 433.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2737, allocations: 0 / 433.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of Templates: time 0.006378/0.2801, allocations: 3.898 MB / 437.8 MB, free: 96 kB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins1/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: 8.248927993234247]