Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001049, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 166.8 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.014/1.014, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 274.1 MB, free: 4.363 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.578e-05, allocations: 9.188 kB / 274.1 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002377/0.002403, allocations: 1.616 MB / 275.7 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008462/0.003249, allocations: 0.5569 MB / 276.3 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.91e-05/0.003318, allocations: 5.906 kB / 276.3 MB, free: 2.172 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/0.003352, allocations: 3.938 kB / 276.3 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.725e-05/0.003439, allocations: 7.875 kB / 276.3 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.003758, allocations: 56.72 kB / 276.4 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.559e-05/0.003854, allocations: 47.84 kB / 276.4 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.003998, allocations: 16.61 kB / 276.4 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.267e-05/0.004081, allocations: 33.59 kB / 276.5 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.641e-05/0.004157, allocations: 15.92 kB / 276.5 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.004178, allocations: 4 kB / 276.5 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.00445, allocations: 59.81 kB / 276.5 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.004472, allocations: 12.56 kB / 276.6 MB, free: 1.922 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.004503, allocations: 19.91 kB / 276.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.004676, allocations: 76.3 kB / 276.6 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.00468, allocations: 0 / 276.6 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.004681, allocations: 0.6562 kB / 276.6 MB, free: 1.828 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.004687, allocations: 2.469 kB / 276.7 MB, free: 1.828 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.0004971/0.005184, allocations: 404.2 kB / 277 MB, free: 1.398 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.005236, allocations: 8.031 kB / 277.1 MB, free: 1.391 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003275/0.005563, allocations: 52.84 kB / 277.1 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.005681, allocations: 126.5 kB / 277.2 MB, free: 1.191 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.005699, allocations: 4.375 kB / 277.2 MB, free: 1.188 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.005713, allocations: 8.375 kB / 277.2 MB, free: 1.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.005863, allocations: 74.92 kB / 277.3 MB, free: 1.098 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.00587, allocations: 192 / 277.3 MB, free: 1.098 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.005885, allocations: 12.3 kB / 277.3 MB, free: 1.086 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.005891, allocations: 7.938 kB / 277.3 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.645e-05/0.005938, allocations: 23.92 kB / 277.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.006349, allocations: 308.1 kB / 277.7 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.006461, allocations: 54.95 kB / 277.7 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.006487, allocations: 15.67 kB / 277.7 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.006505, allocations: 0 / 277.7 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.006536, allocations: 37.39 kB / 277.8 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.006537, allocations: 0 / 277.8 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002064/0.006743, allocations: 61.77 kB / 277.8 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.006787, allocations: 55.34 kB / 277.9 MB, free: 472 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.006898, allocations: 173.9 kB / 278 MB, free: 280 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.006917, allocations: 25.7 kB / 278.1 MB, free: 248 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.263e-05/0.00699, allocations: 154.7 kB / 278.2 MB, free: 88 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.007016, allocations: 11.91 kB / 278.2 MB, free: 76 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.007057, allocations: 23.38 kB / 278.3 MB, free: 44 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.007235, allocations: 0.4884 MB / 278.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.228e-05/0.007267, allocations: 4 kB / 278.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.833e-05/0.007286, allocations: 7.984 kB / 278.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.407e-05/0.00734, allocations: 24 kB / 278.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.007343, allocations: 4 kB / 278.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.642e-05/0.00744, allocations: 61.58 kB / 278.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.007457, allocations: 4 kB / 278.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.007463, allocations: 4 kB / 278.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.007475, allocations: 0 / 278.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.737e-05/0.007572, allocations: 15.98 kB / 278.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.007577, allocations: 0 / 278.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.387e-05/0.007611, allocations: 11.98 kB / 278.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.007617, allocations: 0 / 278.9 MB, free: 15.4 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 9.913e-05/0.007716, allocations: 164.5 kB / 279 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.007741, allocations: 7.953 kB / 279.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.007889, allocations: 69.78 kB / 279.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.007891, allocations: 7.875 kB / 279.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.007894, allocations: 0 / 279.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.007898, allocations: 0 / 279.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.008035, allocations: 121.2 kB / 279.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.008037, allocations: 0 / 279.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.063e-05/0.008098, allocations: 19.92 kB / 279.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.0081, allocations: 4 kB / 279.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.008108, allocations: 0 / 279.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.008112, allocations: 3.984 kB / 279.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.008114, allocations: 4 kB / 279.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.008261, allocations: 207.9 kB / 279.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.008272, allocations: 7.891 kB / 279.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.008282, allocations: 192 / 279.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.523e-05/0.008327, allocations: 15.98 kB / 279.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.00835, allocations: 3.938 kB / 279.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.008356, allocations: 4 kB / 279.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.556e-05/0.008411, allocations: 134.9 kB / 279.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.008411, allocations: 0 / 279.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001585/0.00857, allocations: 12 kB / 279.7 MB, free: 14.57 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 0.0001063/0.008676, allocations: 91.25 kB / 279.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.008791, allocations: 35.66 kB / 279.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.008794, allocations: 0 / 279.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.746e-05/0.008821, allocations: 27.61 kB / 279.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.009038, allocations: 11.98 kB / 279.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.009372, allocations: 169.8 kB / 280 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.853e-05/0.009411, allocations: 59.34 kB / 280 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.658e-05/0.009448, allocations: 11.91 kB / 280.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.422e-05/0.009522, allocations: 78.19 kB / 280.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.009523, allocations: 0 / 280.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of Templates: time 0.002954/0.01248, allocations: 0.8141 MB / 280.9 MB, free: 13.22 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.8901729257777333]