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.001761/0.001761, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002281/0.002281, allocations: 210 kB / 24.48 MB, free: 3.938 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.437/1.437, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001743/0.001743, allocations: 51.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2767, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003027/0.2797, allocations: 1.58 MB / 433.9 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.2808, allocations: 0.5338 MB / 434.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.912e-05/0.2808, allocations: 0 / 434.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.731e-05/0.2809, allocations: 7.875 kB / 434.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.408e-05/0.281, allocations: 15.8 kB / 434.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.2812, allocations: 55.83 kB / 434.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.124e-05/0.2813, allocations: 43.91 kB / 434.6 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.2815, allocations: 27.92 kB / 434.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.717e-05/0.2815, allocations: 23.86 kB / 434.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.095e-05/0.2816, allocations: 31.78 kB / 434.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.2816, allocations: 4 kB / 434.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002312/0.2818, allocations: 47.97 kB / 434.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.2818, allocations: 11.92 kB / 434.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.2819, allocations: 23.86 kB / 434.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.2821, allocations: 86.59 kB / 434.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2821, allocations: 0 / 434.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2821, allocations: 0 / 434.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.2821, allocations: 4 kB / 434.8 MB, free: 4.23 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.0004679/0.2825, allocations: 313.6 kB / 435.1 MB, free: 3.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2826, allocations: 8.031 kB / 435.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004227/0.283, allocations: 44.84 kB / 435.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.2831, allocations: 118.4 kB / 435.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.2831, allocations: 8.375 kB / 435.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.2832, allocations: 4.375 kB / 435.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.2834, allocations: 97.95 kB / 435.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2834, allocations: 0 / 435.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.2834, allocations: 3.938 kB / 435.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2834, allocations: 4 kB / 435.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.2836, allocations: 63.95 kB / 435.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.2842, allocations: 288.2 kB / 435.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.2844, allocations: 70.52 kB / 435.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.2845, allocations: 36.95 kB / 435.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.2845, allocations: 0 / 435.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.2845, allocations: 34.56 kB / 435.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 7.61e-07/0.2845, allocations: 0 / 435.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004183/0.285, allocations: 125.6 kB / 436 MB, free: 2.922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.285, allocations: 51.41 kB / 436.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.2851, allocations: 113.8 kB / 436.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.2851, allocations: 29.7 kB / 436.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.2852, allocations: 100 kB / 436.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.2852, allocations: 11.84 kB / 436.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.2853, allocations: 21.7 kB / 436.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2854, allocations: 322.8 kB / 436.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-05/0.2855, allocations: 27.97 kB / 436.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.36e-05/0.2856, allocations: 23.98 kB / 436.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.2858, allocations: 60.81 kB / 436.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2858, allocations: 3.938 kB / 436.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002366/0.286, allocations: 97.92 kB / 436.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.286, allocations: 4 kB / 436.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.286, allocations: 8 kB / 436.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.286, allocations: 4 kB / 436.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.2862, allocations: 23.97 kB / 436.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2862, allocations: 0 / 436.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.2863, allocations: 15.94 kB / 436.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.2863, allocations: 3.984 kB / 436.9 MB, free: 1.961 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.691e-05/0.2864, allocations: 113.8 kB / 437 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.2864, allocations: 3.953 kB / 437 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003122/0.2867, allocations: 113.6 kB / 437.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.2867, allocations: 4 kB / 437.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2867, allocations: 0 / 437.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.2867, allocations: 3.938 kB / 437.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.2869, allocations: 125.3 kB / 437.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2869, allocations: 3.984 kB / 437.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.287, allocations: 15.98 kB / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.287, allocations: 0 / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.287, allocations: 4 kB / 437.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.287, allocations: 4 kB / 437.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.287, allocations: 0 / 437.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.2873, allocations: 199.3 kB / 437.5 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.2873, allocations: 4 kB / 437.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.2873, allocations: 4 kB / 437.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.2874, allocations: 11.98 kB / 437.5 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.2875, allocations: 0 / 437.5 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.2875, allocations: 7.984 kB / 437.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.012e-05/0.2875, allocations: 91.28 kB / 437.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2875, allocations: 0 / 437.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.2878, allocations: 19.83 kB / 437.6 MB, free: 1.18 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 0.000108/0.2879, allocations: 99.23 kB / 437.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.2881, allocations: 64.08 kB / 437.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2881, allocations: 7.938 kB / 437.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.2882, allocations: 39.91 kB / 437.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.2885, allocations: 4 kB / 437.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.289, allocations: 211.3 kB / 438.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.4e-05/0.2891, allocations: 75.33 kB / 438.1 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.2891, allocations: 15.42 kB / 438.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2891, allocations: 0 / 438.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of Templates: time 0.002757/0.2919, allocations: 0.9701 MB / 439.1 MB, free: 15.65 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.703228909987956]