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.001919/0.001919, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.002279/0.002279, allocations: 169.1 kB / 23.96 MB, free: 4.164 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.57/1.57, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.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 1.914e-06/1.914e-06, allocations: 0 / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.168e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002818/0.002849, allocations: 1.586 MB / 326.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.003968, allocations: 0.5461 MB / 327.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.105e-05/0.004049, allocations: 5 kB / 327.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.465e-05/0.004094, allocations: 17.17 kB / 327.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.715e-05/0.004181, allocations: 5.766 kB / 327.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.004507, allocations: 51.89 kB / 327.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.004622, allocations: 58.41 kB / 327.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.004742, allocations: 17.56 kB / 327.4 MB, free: 15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.048e-05/0.004803, allocations: 26.95 kB / 327.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.248e-05/0.004865, allocations: 18.7 kB / 327.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.004885, allocations: 5.531 kB / 327.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.005125, allocations: 53.95 kB / 327.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/0.00515, allocations: 19 kB / 327.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.005185, allocations: 15.61 kB / 327.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.005389, allocations: 88.27 kB / 327.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.005393, allocations: 2.016 kB / 327.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.005395, allocations: 0 / 327.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.005404, allocations: 0 / 327.6 MB, free: 14.91 MB / 302.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.0005234/0.005927, allocations: 300.5 kB / 327.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.005975, allocations: 9.406 kB / 327.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004697/0.006444, allocations: 59.06 kB / 327.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.00658, allocations: 122.3 kB / 328.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.0066, allocations: 3.625 kB / 328.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.006621, allocations: 10.31 kB / 328.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.006843, allocations: 80.8 kB / 328.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.006852, allocations: 192 / 328.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.00687, allocations: 4.375 kB / 328.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.006877, allocations: 16.59 kB / 328.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.007107, allocations: 64.38 kB / 328.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006568/0.007764, allocations: 273.9 kB / 328.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.008015, allocations: 72.75 kB / 328.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.008132, allocations: 35.08 kB / 328.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.008149, allocations: 1.188 kB / 328.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.00818, allocations: 36.75 kB / 328.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.008181, allocations: 0 / 328.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004838/0.008665, allocations: 116.7 kB / 328.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.008714, allocations: 57.2 kB / 328.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.00883, allocations: 117.3 kB / 328.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.008851, allocations: 25.7 kB / 329 MB, free: 13.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/0.008922, allocations: 107 kB / 329.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.008952, allocations: 18.77 kB / 329.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/0.009003, allocations: 20.39 kB / 329.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.009158, allocations: 317.9 kB / 329.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.009269, allocations: 24.94 kB / 329.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.009372, allocations: 29.62 kB / 329.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.009587, allocations: 71.3 kB / 329.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.009589, allocations: 0 / 329.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002676/0.009856, allocations: 92.33 kB / 329.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.009872, allocations: 7.141 kB / 329.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.009877, allocations: 3.938 kB / 329.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.009892, allocations: 0 / 329.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.01004, allocations: 18.12 kB / 329.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.01004, allocations: 1.281 kB / 329.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.87e-05/0.01013, allocations: 15.59 kB / 329.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.01014, allocations: 2.266 kB / 329.7 MB, free: 13.25 MB / 302.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 0.0001034/0.01025, allocations: 116.9 kB / 329.8 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.01028, allocations: 7.641 kB / 329.8 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004058/0.01069, allocations: 108.2 kB / 329.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01069, allocations: 0 / 329.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.01069, allocations: 5.75 kB / 329.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.0107, allocations: 4 kB / 329.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.01091, allocations: 131.3 kB / 330 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01091, allocations: 5.656 kB / 330 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.01104, allocations: 17.55 kB / 330.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.01104, allocations: 1.031 kB / 330.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.01106, allocations: 7.047 kB / 330.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01106, allocations: 0 / 330.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01106, allocations: 0 / 330.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.01142, allocations: 202.2 kB / 330.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.01143, allocations: 2.688 kB / 330.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.01147, allocations: 5.562 kB / 330.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.01159, allocations: 9.438 kB / 330.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.01162, allocations: 3.406 kB / 330.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.01163, allocations: 2 kB / 330.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.33e-05/0.01169, allocations: 91.44 kB / 330.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01169, allocations: 3.938 kB / 330.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.01194, allocations: 21.89 kB / 330.4 MB, free: 12.67 MB / 302.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.0001292/0.01207, allocations: 95.62 kB / 330.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.01235, allocations: 62.22 kB / 330.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01235, allocations: 1.531 kB / 330.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.01247, allocations: 35.12 kB / 330.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.01274, allocations: 11.5 kB / 330.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/0.01321, allocations: 190.6 kB / 330.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.513e-05/0.0133, allocations: 78.86 kB / 330.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.706e-05/0.01335, allocations: 4.578 kB / 330.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.0134, allocations: 15.45 kB / 330.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of SimCode: time 4.5e-07/0.0134, allocations: 0 / 330.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of Templates: time 0.003703/0.0171, allocations: 0.7264 MB / 331.6 MB, free: 12.07 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins/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: 4.565773434937]