Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.002053/0.002053, allocations: 120.2 kB / 21.94 MB, free: 28 kB / 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.002674/0.002674, allocations: 208.8 kB / 25.24 MB, free: 3.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities") translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 54.95 kB / 348.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2936, allocations: 49.16 MB / 397.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.002968/0.2965, allocations: 1.576 MB / 399.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.2975, allocations: 0.5779 MB / 399.8 MB, free: 8.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.851e-05/0.2976, allocations: 1.281 kB / 399.8 MB, free: 8.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.176e-05/0.2976, allocations: 8.906 kB / 399.8 MB, free: 8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.351e-05/0.2977, allocations: 14.88 kB / 399.8 MB, free: 7.988 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.298, allocations: 45.09 kB / 399.8 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.2981, allocations: 54.56 kB / 399.9 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2982, allocations: 16.66 kB / 399.9 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.2982, allocations: 25.59 kB / 399.9 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.2983, allocations: 23.59 kB / 399.9 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.2983, allocations: 4.688 kB / 400 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.2985, allocations: 47.44 kB / 400 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.2985, allocations: 15.16 kB / 400 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.2986, allocations: 22.98 kB / 400 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.2987, allocations: 87.78 kB / 400.1 MB, free: 7.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2987, allocations: 0 / 400.1 MB, free: 7.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2987, allocations: 4 kB / 400.1 MB, free: 7.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.2988, allocations: 0 / 400.1 MB, free: 7.82 MB / 318.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.0004424/0.2992, allocations: 303.4 kB / 400.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2992, allocations: 15.16 kB / 400.4 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003844/0.2996, allocations: 46.75 kB / 400.5 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.688e-05/0.2997, allocations: 117.1 kB / 400.6 MB, free: 7.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.2997, allocations: 3.031 kB / 400.6 MB, free: 7.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.2998, allocations: 12.41 kB / 400.6 MB, free: 7.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.3, allocations: 88.92 kB / 400.7 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3, allocations: 0 / 400.7 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.3, allocations: 6.625 kB / 400.7 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.3, allocations: 1.219 kB / 400.7 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.3002, allocations: 66.52 kB / 400.8 MB, free: 7.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.3008, allocations: 325.8 kB / 401.1 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.301, allocations: 64.62 kB / 401.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.654e-05/0.3011, allocations: 35.73 kB / 401.2 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.3011, allocations: 3.938 kB / 401.2 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.3011, allocations: 40.77 kB / 401.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3011, allocations: 0 / 401.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003937/0.3015, allocations: 124.7 kB / 401.4 MB, free: 6.871 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.3015, allocations: 52.91 kB / 401.4 MB, free: 6.809 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.158e-05/0.3016, allocations: 132.4 kB / 401.5 MB, free: 6.691 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.3016, allocations: 31.23 kB / 401.6 MB, free: 6.656 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.3017, allocations: 93.36 kB / 401.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.3017, allocations: 19.88 kB / 401.7 MB, free: 6.551 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.3017, allocations: 20.03 kB / 401.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.684e-05/0.3018, allocations: 314.1 kB / 402 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.701e-05/0.3019, allocations: 28.94 kB / 402 MB, free: 6.211 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.561e-05/0.302, allocations: 25.12 kB / 402.1 MB, free: 6.207 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.3021, allocations: 61.97 kB / 402.1 MB, free: 6.184 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3022, allocations: 0 / 402.1 MB, free: 6.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002173/0.3024, allocations: 96.97 kB / 402.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3024, allocations: 5 kB / 402.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3024, allocations: 0.75 kB / 402.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.3024, allocations: 1 kB / 402.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.3026, allocations: 21.11 kB / 402.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3026, allocations: 4.594 kB / 402.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.739e-05/0.3026, allocations: 10.41 kB / 402.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3026, allocations: 2.312 kB / 402.3 MB, free: 6.125 MB / 318.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 6.393e-05/0.3027, allocations: 113.7 kB / 402.4 MB, free: 6.008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.3027, allocations: 6.234 kB / 402.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.303, allocations: 116.2 kB / 402.5 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.303, allocations: 1.156 kB / 402.5 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.303, allocations: 8.516 kB / 402.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.303, allocations: 1.672 kB / 402.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.3032, allocations: 160.1 kB / 402.7 MB, free: 5.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3032, allocations: 1.25 kB / 402.7 MB, free: 5.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.3033, allocations: 18.39 kB / 402.7 MB, free: 5.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3033, allocations: 3.938 kB / 402.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3033, allocations: 5.5 kB / 402.7 MB, free: 5.754 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.3033, allocations: 0.7969 kB / 402.7 MB, free: 5.754 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3033, allocations: 4.938 kB / 402.7 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.3036, allocations: 195.4 kB / 402.9 MB, free: 5.598 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.3036, allocations: 11.22 kB / 402.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.3036, allocations: 1.156 kB / 402.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.3037, allocations: 16.95 kB / 402.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.3038, allocations: 8.672 kB / 402.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.3038, allocations: 2.094 kB / 402.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.383e-05/0.3038, allocations: 102.4 kB / 403 MB, free: 5.492 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3038, allocations: 0 / 403 MB, free: 5.492 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.304, allocations: 17.03 kB / 403 MB, free: 5.484 MB / 318.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 7.782e-05/0.3041, allocations: 91.36 kB / 403.1 MB, free: 5.398 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.3044, allocations: 69.78 kB / 403.2 MB, free: 5.379 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3044, allocations: 0 / 403.2 MB, free: 5.379 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.3045, allocations: 32.12 kB / 403.2 MB, free: 5.375 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.3048, allocations: 11.12 kB / 403.2 MB, free: 5.367 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.3053, allocations: 226.8 kB / 403.5 MB, free: 5.184 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.3054, allocations: 0.6898 MB / 404.1 MB, free: 4.488 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.3054, allocations: 11.88 kB / 404.2 MB, free: 4.48 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3054, allocations: 0 / 404.2 MB, free: 4.48 MB / 318.1 MB Notification: Performance of Templates: time 0.003186/0.3086, allocations: 0.9723 MB / 405.1 MB, free: 4.406 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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: 6.972242261981592]