Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.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.001418/0.001418, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001527/0.001527, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities") translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 47.92 kB / 379 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2547, allocations: 53.37 MB / 432.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003029/0.2577, allocations: 1.599 MB / 434 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.2587, allocations: 0.5882 MB / 434.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.2588, allocations: 0 / 434.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.604e-05/0.2588, allocations: 7.922 kB / 434.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.613e-05/0.2589, allocations: 11.88 kB / 434.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.2592, allocations: 47.83 kB / 434.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.624e-05/0.2593, allocations: 55.78 kB / 434.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.2594, allocations: 19.98 kB / 434.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.416e-05/0.2594, allocations: 31.8 kB / 434.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.931e-05/0.2595, allocations: 31.84 kB / 434.8 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.2595, allocations: 4 kB / 434.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.2597, allocations: 47.97 kB / 434.8 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.2597, allocations: 15.91 kB / 434.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.2598, allocations: 27.81 kB / 434.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.2599, allocations: 85.19 kB / 435 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.26, allocations: 0 / 435 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.26, allocations: 0 / 435 MB, free: 4.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.26, allocations: 0 / 435 MB, free: 4.34 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004759/0.2604, allocations: 309.7 kB / 435.3 MB, free: 4.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2605, allocations: 12.03 kB / 435.3 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004379/0.2609, allocations: 44.84 kB / 435.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.261, allocations: 126.3 kB / 435.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.2611, allocations: 8.375 kB / 435.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.2611, allocations: 4.375 kB / 435.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.2613, allocations: 97.95 kB / 435.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2613, allocations: 0 / 435.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.2613, allocations: 0 / 435.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.2613, allocations: 4 kB / 435.6 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.2616, allocations: 63.95 kB / 435.6 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/0.2622, allocations: 327.6 kB / 435.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.2624, allocations: 70.53 kB / 436 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.2625, allocations: 28.97 kB / 436 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.2625, allocations: 3.984 kB / 436 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.2625, allocations: 42.5 kB / 436.1 MB, free: 3.102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.2625, allocations: 3.938 kB / 436.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003882/0.2629, allocations: 117.6 kB / 436.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.263, allocations: 55.39 kB / 436.3 MB, free: 2.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.2631, allocations: 124.3 kB / 436.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.2631, allocations: 25.7 kB / 436.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.2632, allocations: 104.1 kB / 436.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.2632, allocations: 11.84 kB / 436.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.2632, allocations: 21.7 kB / 436.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2634, allocations: 318.8 kB / 436.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.386e-05/0.2635, allocations: 27.97 kB / 436.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.247e-05/0.2636, allocations: 23.92 kB / 436.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.2637, allocations: 69.19 kB / 437 MB, free: 2.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2637, allocations: 0 / 437 MB, free: 2.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002243/0.264, allocations: 93.61 kB / 437.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.264, allocations: 4 kB / 437.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.264, allocations: 0 / 437.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.264, allocations: 3.938 kB / 437.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.2641, allocations: 31.97 kB / 437.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.2641, allocations: 3.938 kB / 437.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.077e-05/0.2642, allocations: 11.98 kB / 437.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.2642, allocations: 0 / 437.1 MB, free: 2.008 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * 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.56e-05/0.2643, allocations: 117.8 kB / 437.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.2644, allocations: 3.953 kB / 437.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.2647, allocations: 109.7 kB / 437.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.2647, allocations: 4 kB / 437.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2647, allocations: 3.938 kB / 437.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2647, allocations: 0 / 437.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.2649, allocations: 160.7 kB / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2649, allocations: 0 / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.265, allocations: 19.98 kB / 437.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.265, allocations: 0 / 437.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.265, allocations: 0 / 437.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.265, allocations: 7.938 kB / 437.5 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.265, allocations: 3.938 kB / 437.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.2653, allocations: 195.5 kB / 437.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.2653, allocations: 11.95 kB / 437.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.2653, allocations: 4.125 kB / 437.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.2654, allocations: 11.98 kB / 437.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.2655, allocations: 15.92 kB / 437.8 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.2655, allocations: 0 / 437.8 MB, free: 1.273 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.512e-05/0.2655, allocations: 99.27 kB / 437.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2655, allocations: 0 / 437.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.2658, allocations: 11.94 kB / 437.9 MB, free: 1.164 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 9.82e-05/0.2659, allocations: 91.25 kB / 438 MB, free: 1.066 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.2661, allocations: 67.89 kB / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2661, allocations: 0 / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.2662, allocations: 39.97 kB / 438.1 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.2665, allocations: 6.641 kB / 438.1 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/0.267, allocations: 227.2 kB / 438.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.2673, allocations: 0.6924 MB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.2674, allocations: 11.44 kB / 439 MB, free: 15.97 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2674, allocations: 0 / 439 MB, free: 15.97 MB / 350.1 MB Notification: Performance of Templates: time 0.002716/0.2701, allocations: 0.9721 MB / 440 MB, free: 15.01 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.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: 6.645852796034887]