Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.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.001301/0.001301, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002116/0.003417, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001275/0.001275, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02033/0.02161, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9851/0.9851, allocations: 173.4 MB / 185.8 MB, free: 9.004 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09875/1.084, allocations: 52.49 MB / 238.3 MB, free: 4.449 MB / 234.7 MB " [Timeout remaining time 179] 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.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 239.6 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.116e-05, allocations: 6.312 kB / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002451/0.002473, allocations: 1.64 MB / 241.2 MB, free: 1.527 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007939/0.003266, allocations: 0.5312 MB / 241.7 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.003315, allocations: 0 / 241.7 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.939e-05/0.003345, allocations: 11.86 kB / 241.7 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.003401, allocations: 15.88 kB / 241.8 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.00354, allocations: 35.89 kB / 241.8 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.185e-05/0.003622, allocations: 51.84 kB / 241.8 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.003715, allocations: 15.94 kB / 241.9 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.003787, allocations: 43.77 kB / 241.9 MB, free: 0.8242 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.212e-05/0.003839, allocations: 15.98 kB / 241.9 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.003856, allocations: 4 kB / 241.9 MB, free: 0.8047 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.004019, allocations: 51.88 kB / 242 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.004035, allocations: 8 kB / 242 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.004055, allocations: 15.94 kB / 242 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.004198, allocations: 55.78 kB / 242 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.459e-05/0.004213, allocations: 0 / 242 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.004214, allocations: 0 / 242 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.004232, allocations: 0 / 242 MB, free: 0.6758 MB / 234.7 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.000395/0.004627, allocations: 296.2 kB / 242.3 MB, free: 372 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.004659, allocations: 12.03 kB / 242.3 MB, free: 360 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/0.004961, allocations: 125.9 kB / 242.5 MB, free: 216 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.906e-05/0.00505, allocations: 117.7 kB / 242.6 MB, free: 72 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.005065, allocations: 8.375 kB / 242.6 MB, free: 64 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.005081, allocations: 8.375 kB / 242.6 MB, free: 56 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.005234, allocations: 86.11 kB / 242.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.005241, allocations: 0 / 242.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.005249, allocations: 4 kB / 242.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.005254, allocations: 0 / 242.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.733e-05/0.005301, allocations: 19.92 kB / 242.7 MB, free: 15.94 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.005646, allocations: 228 kB / 242.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.316e-05/0.005729, allocations: 38.56 kB / 243 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.005753, allocations: 12.86 kB / 243 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.005767, allocations: 0 / 243 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.005789, allocations: 34.56 kB / 243 MB, free: 15.6 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.00579, allocations: 0 / 243 MB, free: 15.6 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001437/0.005933, allocations: 57.73 kB / 243.1 MB, free: 15.54 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.005962, allocations: 51.41 kB / 243.1 MB, free: 15.47 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.746e-05/0.00603, allocations: 122.6 kB / 243.2 MB, free: 15.34 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.006041, allocations: 25.7 kB / 243.3 MB, free: 15.31 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.006079, allocations: 104 kB / 243.4 MB, free: 15.2 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.006099, allocations: 11.91 kB / 243.4 MB, free: 15.19 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.006139, allocations: 21.7 kB / 243.4 MB, free: 15.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.738e-05/0.006226, allocations: 322.8 kB / 243.7 MB, free: 14.84 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.113e-05/0.006247, allocations: 7.938 kB / 243.7 MB, free: 14.83 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.563e-05/0.006263, allocations: 7.984 kB / 243.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.851e-05/0.006301, allocations: 17.23 kB / 243.8 MB, free: 14.8 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.006304, allocations: 3.984 kB / 243.8 MB, free: 14.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.618e-05/0.00638, allocations: 49.62 kB / 243.8 MB, free: 14.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.006394, allocations: 4 kB / 243.8 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.006399, allocations: 0 / 243.8 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.006407, allocations: 4 kB / 243.8 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.006511, allocations: 15.98 kB / 243.8 MB, free: 14.72 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.006515, allocations: 4 kB / 243.8 MB, free: 14.72 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/0.006551, allocations: 11.98 kB / 243.8 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.006556, allocations: 0 / 243.8 MB, free: 14.71 MB / 250.7 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 5.86e-05/0.006615, allocations: 113.8 kB / 244 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.006636, allocations: 0 / 244 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.006748, allocations: 73.7 kB / 244 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.006749, allocations: 4 kB / 244 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.006751, allocations: 0 / 244 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.006754, allocations: 0 / 244 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.006881, allocations: 93.7 kB / 244.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.006882, allocations: 0 / 244.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/0.006952, allocations: 15.98 kB / 244.1 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-06/0.00696, allocations: 4 kB / 244.1 MB, free: 14.37 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.006961, allocations: 0 / 244.1 MB, free: 14.37 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.006968, allocations: 3.984 kB / 244.1 MB, free: 14.37 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.006969, allocations: 0 / 244.1 MB, free: 14.37 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.00697, allocations: 0 / 244.1 MB, free: 14.37 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.007072, allocations: 155.6 kB / 244.3 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.007085, allocations: 4 kB / 244.3 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.46e-05/0.00715, allocations: 7.984 kB / 244.3 MB, free: 14.19 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.007181, allocations: 15.97 kB / 244.3 MB, free: 14.17 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.007185, allocations: 0 / 244.3 MB, free: 14.17 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.945e-05/0.007204, allocations: 16.84 kB / 244.3 MB, free: 14.15 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007204, allocations: 0 / 244.3 MB, free: 14.15 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000173/0.007377, allocations: 15.89 kB / 244.4 MB, free: 14.14 MB / 250.7 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 8.392e-05/0.007461, allocations: 80.41 kB / 244.4 MB, free: 14.05 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.115e-05/0.007542, allocations: 24.86 kB / 244.5 MB, free: 14.02 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.007549, allocations: 3.984 kB / 244.5 MB, free: 14.02 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.749e-05/0.007577, allocations: 20.8 kB / 244.5 MB, free: 14 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.00775, allocations: 19.92 kB / 244.5 MB, free: 13.98 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.008217, allocations: 184 kB / 244.7 MB, free: 13.77 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.855e-05/0.008255, allocations: 55.36 kB / 244.7 MB, free: 13.7 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.978e-05/0.008295, allocations: 11.98 kB / 244.7 MB, free: 13.68 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.361e-05/0.008359, allocations: 55.36 kB / 244.8 MB, free: 13.63 MB / 250.7 MB Notification: Performance of SimCode: time 6.71e-07/0.00836, allocations: 0 / 244.8 MB, free: 13.63 MB / 250.7 MB Notification: Performance of Templates: time 0.002795/0.01115, allocations: 0.8601 MB / 245.7 MB, free: 12.78 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.520632744766772]