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.001348/0.001348, allocations: 77.88 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001574/0.001574, allocations: 169.4 kB / 24.82 MB, free: 9.262 MB / 18.57 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.09/1.09, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.776e-05, allocations: 2.312 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.00241/0.002437, allocations: 1.617 MB / 275 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008715/0.003309, allocations: 0.5453 MB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.003369, allocations: 4 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.451e-05/0.003403, allocations: 7.875 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.139e-05/0.003485, allocations: 15.86 kB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.003764, allocations: 51.7 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.003846, allocations: 55.83 kB / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.003953, allocations: 15.98 kB / 275.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.148e-05/0.004005, allocations: 27.92 kB / 275.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.181e-05/0.004057, allocations: 23.89 kB / 275.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.004075, allocations: 8 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002466/0.004322, allocations: 47.97 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.004339, allocations: 11.92 kB / 275.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.004361, allocations: 19.92 kB / 275.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.004502, allocations: 75.66 kB / 275.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.004506, allocations: 0 / 275.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.004507, allocations: 4 kB / 275.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.004512, allocations: 0 / 275.9 MB, free: 14.75 MB / 266.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.0005639/0.005076, allocations: 408.2 kB / 276.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.005114, allocations: 8.031 kB / 276.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.005395, allocations: 56.8 kB / 276.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.617e-05/0.005491, allocations: 120.5 kB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.005507, allocations: 4.375 kB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.005519, allocations: 8.375 kB / 276.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.005675, allocations: 86.41 kB / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.005684, allocations: 12.11 kB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.005693, allocations: 384 / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.0057, allocations: 7.938 kB / 276.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.202e-05/0.005742, allocations: 15.98 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.006132, allocations: 308.2 kB / 276.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.346e-05/0.006216, allocations: 54.97 kB / 277 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.00624, allocations: 15.81 kB / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.006258, allocations: 4 kB / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.006278, allocations: 33.39 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.006279, allocations: 0 / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000167/0.006446, allocations: 69.56 kB / 277.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.006475, allocations: 55.41 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.652e-05/0.006551, allocations: 173.9 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.006565, allocations: 29.7 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.006627, allocations: 146.8 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.006648, allocations: 7.906 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.006685, allocations: 31.34 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.006805, allocations: 496.1 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.541e-05/0.006831, allocations: 7.984 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.516e-05/0.006846, allocations: 4 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.238e-05/0.006888, allocations: 31.61 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.00689, allocations: 0 / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.96e-05/0.00697, allocations: 57.58 kB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.006982, allocations: 11.98 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.006988, allocations: 0 / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.007, allocations: 0 / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.384e-05/0.007084, allocations: 15.98 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.277e-06/0.007087, allocations: 3.984 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.954e-05/0.007116, allocations: 11.94 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.007121, allocations: 0 / 278.2 MB, free: 12.31 MB / 266.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 7.168e-05/0.007192, allocations: 164.5 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.007213, allocations: 11.95 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.007335, allocations: 70.17 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.007337, allocations: 0 / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.007339, allocations: 0 / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.007343, allocations: 0 / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.007469, allocations: 117.3 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.007472, allocations: 3.984 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.007529, allocations: 19.88 kB / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.007532, allocations: 7.984 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.00754, allocations: 4 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.007541, allocations: 0 / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.007543, allocations: 0 / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.007677, allocations: 207.8 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.007688, allocations: 11.89 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.007697, allocations: 0 / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.327e-05/0.007741, allocations: 7.984 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.007757, allocations: 4 kB / 278.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.007762, allocations: 3.984 kB / 278.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.196e-05/0.007804, allocations: 139.5 kB / 278.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007804, allocations: 0 / 278.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001472/0.007952, allocations: 12 kB / 278.9 MB, free: 11.48 MB / 266.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 9.554e-05/0.008047, allocations: 99.17 kB / 279 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.29e-05/0.00813, allocations: 27.67 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.008132, allocations: 3.938 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.266e-05/0.008155, allocations: 23.67 kB / 279.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.008337, allocations: 10.34 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002722/0.008609, allocations: 181.8 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.488e-05/0.008644, allocations: 59.34 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.032e-05/0.008674, allocations: 4 kB / 279.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/0.008738, allocations: 78.19 kB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008739, allocations: 0 / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of Templates: time 0.002521/0.01126, allocations: 0.8 MB / 280.2 MB, free: 10.14 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 240] 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","",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.870141079183668]