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.001223/0.001223, allocations: 76.72 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001229/0.001229, allocations: 144.9 kB / 25.59 MB, free: 8.605 MB / 18.57 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 1.04/1.04, allocations: 173.4 MB / 202.3 MB, free: 8.305 MB / 186.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.653e-06/1.653e-06, allocations: 0 / 269.2 MB, free: 9.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.803e-05, allocations: 3.938 kB / 269.2 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003857/0.003885, allocations: 1.592 MB / 270.8 MB, free: 8.176 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.005042, allocations: 0.5083 MB / 271.3 MB, free: 7.668 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.761e-05/0.005119, allocations: 0 / 271.3 MB, free: 7.668 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.029e-05/0.00516, allocations: 7.156 kB / 271.3 MB, free: 7.664 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.005266, allocations: 19.81 kB / 271.3 MB, free: 7.645 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.005606, allocations: 47.81 kB / 271.4 MB, free: 7.598 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.005731, allocations: 43.8 kB / 271.4 MB, free: 7.555 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.005867, allocations: 23.97 kB / 271.4 MB, free: 7.531 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.907e-05/0.005926, allocations: 27.91 kB / 271.5 MB, free: 7.504 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.242e-05/0.005988, allocations: 20.84 kB / 271.5 MB, free: 7.484 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.006009, allocations: 7.938 kB / 271.5 MB, free: 7.477 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.006207, allocations: 45.28 kB / 271.5 MB, free: 7.434 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.006227, allocations: 7.984 kB / 271.6 MB, free: 7.426 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.006247, allocations: 19.92 kB / 271.6 MB, free: 7.406 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.006412, allocations: 69.17 kB / 271.6 MB, free: 7.34 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.006416, allocations: 0 / 271.6 MB, free: 7.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.006417, allocations: 0 / 271.6 MB, free: 7.34 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.006422, allocations: 0 / 271.6 MB, free: 7.34 MB / 250.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.0004184/0.00684, allocations: 412.7 kB / 272 MB, free: 6.902 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.006882, allocations: 8.562 kB / 272 MB, free: 6.895 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/0.007178, allocations: 41.55 kB / 272.1 MB, free: 6.855 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.007293, allocations: 126.4 kB / 272.2 MB, free: 6.707 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.007315, allocations: 8.375 kB / 272.2 MB, free: 6.699 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.007328, allocations: 4.375 kB / 272.2 MB, free: 6.695 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.007491, allocations: 86.42 kB / 272.3 MB, free: 6.602 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.0075, allocations: 0 / 272.3 MB, free: 6.602 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.00751, allocations: 1.344 kB / 272.3 MB, free: 6.602 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.007517, allocations: 4 kB / 272.3 MB, free: 6.598 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.521e-05/0.007562, allocations: 19.61 kB / 272.3 MB, free: 6.582 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.007959, allocations: 301.4 kB / 272.6 MB, free: 6.262 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.995e-05/0.008049, allocations: 55.5 kB / 272.7 MB, free: 6.195 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.674e-05/0.008076, allocations: 19.81 kB / 272.7 MB, free: 6.172 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.008092, allocations: 4 kB / 272.7 MB, free: 6.168 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.008114, allocations: 33.39 kB / 272.7 MB, free: 6.125 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.008115, allocations: 0 / 272.7 MB, free: 6.125 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001614/0.008276, allocations: 65.61 kB / 272.8 MB, free: 6.055 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.008309, allocations: 51.41 kB / 272.9 MB, free: 5.992 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.485e-05/0.008394, allocations: 173.8 kB / 273 MB, free: 5.805 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.008406, allocations: 25.7 kB / 273 MB, free: 5.773 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.008465, allocations: 154.7 kB / 273.2 MB, free: 5.617 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.008488, allocations: 11.91 kB / 273.2 MB, free: 5.605 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.008525, allocations: 23.36 kB / 273.2 MB, free: 5.574 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.008678, allocations: 0.5 MB / 273.7 MB, free: 5.062 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.459e-05/0.008703, allocations: 4 kB / 273.7 MB, free: 5.059 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.035e-05/0.008723, allocations: 15.92 kB / 273.8 MB, free: 5.043 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.179e-05/0.008765, allocations: 19.62 kB / 273.8 MB, free: 5.02 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.008767, allocations: 0 / 273.8 MB, free: 5.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.304e-05/0.00885, allocations: 54.08 kB / 273.8 MB, free: 4.961 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.008864, allocations: 8 kB / 273.8 MB, free: 4.953 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.00887, allocations: 4 kB / 273.8 MB, free: 4.949 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.008881, allocations: 0 / 273.8 MB, free: 4.949 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.824e-05/0.008969, allocations: 23.98 kB / 273.9 MB, free: 4.926 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.008972, allocations: 0 / 273.9 MB, free: 4.926 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.225e-05/0.009004, allocations: 11.92 kB / 273.9 MB, free: 4.914 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.009012, allocations: 3.938 kB / 273.9 MB, free: 4.91 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 7.726e-05/0.009089, allocations: 156.6 kB / 274 MB, free: 4.746 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.00911, allocations: 11.89 kB / 274 MB, free: 4.734 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.009235, allocations: 69.78 kB / 274.1 MB, free: 4.656 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.009237, allocations: 0 / 274.1 MB, free: 4.656 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.009238, allocations: 0 / 274.1 MB, free: 4.656 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.009244, allocations: 8 kB / 274.1 MB, free: 4.648 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.009364, allocations: 117.2 kB / 274.2 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.009365, allocations: 4 kB / 274.2 MB, free: 4.504 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.173e-05/0.009417, allocations: 15.98 kB / 274.2 MB, free: 4.488 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.009419, allocations: 0 / 274.2 MB, free: 4.488 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.009425, allocations: 0 / 274.2 MB, free: 4.488 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.009426, allocations: 0 / 274.2 MB, free: 4.488 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.009427, allocations: 0 / 274.2 MB, free: 4.488 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.009589, allocations: 211.8 kB / 274.5 MB, free: 4.262 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.009599, allocations: 3.984 kB / 274.5 MB, free: 4.258 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.009612, allocations: 8 kB / 274.5 MB, free: 4.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.716e-05/0.009659, allocations: 8 kB / 274.5 MB, free: 4.242 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.009694, allocations: 3.984 kB / 274.5 MB, free: 4.238 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.009699, allocations: 0 / 274.5 MB, free: 4.238 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.22e-05/0.009751, allocations: 131.2 kB / 274.6 MB, free: 4.109 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009751, allocations: 0 / 274.6 MB, free: 4.109 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000154/0.009905, allocations: 19.95 kB / 274.6 MB, free: 4.09 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 9.018e-05/0.009995, allocations: 91.19 kB / 274.7 MB, free: 3.992 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.372e-05/0.01009, allocations: 35.73 kB / 274.8 MB, free: 3.953 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01009, allocations: 4 kB / 274.8 MB, free: 3.949 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.29e-05/0.01012, allocations: 31.66 kB / 274.8 MB, free: 3.914 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.01032, allocations: 13.75 kB / 274.8 MB, free: 3.902 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.01064, allocations: 185.8 kB / 275 MB, free: 3.691 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.521e-05/0.01069, allocations: 63.34 kB / 275 MB, free: 3.609 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.465e-05/0.01072, allocations: 4 kB / 275 MB, free: 3.605 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.01079, allocations: 82.12 kB / 275.1 MB, free: 3.523 MB / 250.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01079, allocations: 0 / 275.1 MB, free: 3.523 MB / 250.7 MB Notification: Performance of Templates: time 0.002742/0.01353, allocations: 0.8829 MB / 276 MB, free: 2.656 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 -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.800643493887037]