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.001632/0.001632, allocations: 107.6 kB / 21.18 MB, free: 452 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.001572/0.001572, allocations: 215 kB / 24.47 MB, free: 3.777 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.58/1.58, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.002137/0.002137, allocations: 59.92 kB / 347.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3381, allocations: 49.15 MB / 396.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003099/0.3412, allocations: 1.552 MB / 398.4 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.3423, allocations: 0.5379 MB / 398.9 MB, free: 7.977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/0.3424, allocations: 1.25 kB / 398.9 MB, free: 7.977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.3424, allocations: 8.906 kB / 398.9 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.195e-05/0.3425, allocations: 10.84 kB / 399 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.3428, allocations: 42.16 kB / 399 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.369e-05/0.3429, allocations: 54.2 kB / 399.1 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.343, allocations: 24.69 kB / 399.1 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.088e-05/0.3431, allocations: 21.73 kB / 399.1 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.868e-05/0.3431, allocations: 22.2 kB / 399.1 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.3431, allocations: 5.344 kB / 399.1 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.3433, allocations: 46.27 kB / 399.2 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.3433, allocations: 16.91 kB / 399.2 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.3434, allocations: 22.86 kB / 399.2 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.3436, allocations: 73.7 kB / 399.3 MB, free: 7.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3436, allocations: 4.781 kB / 399.3 MB, free: 7.809 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3436, allocations: 4 kB / 399.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3436, allocations: 1.406 kB / 399.3 MB, free: 7.805 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.0004523/0.344, allocations: 306.1 kB / 399.6 MB, free: 7.512 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3441, allocations: 14.69 kB / 399.6 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000378/0.3444, allocations: 42.86 kB / 399.6 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.281e-05/0.3445, allocations: 124.4 kB / 399.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.3446, allocations: 7.594 kB / 399.8 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.3446, allocations: 3.969 kB / 399.8 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.3448, allocations: 93.38 kB / 399.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3448, allocations: 1.344 kB / 399.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3448, allocations: 1.125 kB / 399.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3448, allocations: 1.375 kB / 399.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.345, allocations: 66.5 kB / 399.9 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005495/0.3456, allocations: 276.9 kB / 400.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.3458, allocations: 72.34 kB / 400.3 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.3459, allocations: 31.22 kB / 400.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.3459, allocations: 4.641 kB / 400.3 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.346, allocations: 35.97 kB / 400.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.813e-06/0.346, allocations: 3.984 kB / 400.4 MB, free: 6.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004088/0.3464, allocations: 130.9 kB / 400.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.3464, allocations: 51.41 kB / 400.5 MB, free: 6.828 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.712e-05/0.3465, allocations: 120.8 kB / 400.6 MB, free: 6.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.3465, allocations: 25.7 kB / 400.7 MB, free: 6.688 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.3465, allocations: 98.36 kB / 400.8 MB, free: 6.594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.3465, allocations: 19.64 kB / 400.8 MB, free: 6.578 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.3466, allocations: 16.66 kB / 400.8 MB, free: 6.562 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.179e-05/0.3466, allocations: 321.8 kB / 401.1 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.3467, allocations: 26.06 kB / 401.1 MB, free: 6.238 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.012e-05/0.3468, allocations: 32.61 kB / 401.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.347, allocations: 57.12 kB / 401.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.347, allocations: 0 / 401.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002266/0.3472, allocations: 93.39 kB / 401.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3473, allocations: 5.828 kB / 401.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3473, allocations: 0 / 401.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3473, allocations: 4.906 kB / 401.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.3474, allocations: 21.23 kB / 401.4 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3474, allocations: 0.9062 kB / 401.4 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.961e-05/0.3475, allocations: 17.95 kB / 401.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.3475, allocations: 6 kB / 401.4 MB, free: 6.141 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.294e-05/0.3476, allocations: 113.7 kB / 401.5 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.3476, allocations: 7.078 kB / 401.5 MB, free: 6.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.3479, allocations: 112.2 kB / 401.6 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3479, allocations: 0 / 401.6 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3479, allocations: 1.062 kB / 401.6 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3479, allocations: 5.094 kB / 401.6 MB, free: 5.953 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.3481, allocations: 128.1 kB / 401.7 MB, free: 5.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3481, allocations: 0 / 401.7 MB, free: 5.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.3482, allocations: 22.25 kB / 401.8 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3482, allocations: 4.453 kB / 401.8 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3482, allocations: 1.375 kB / 401.8 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3482, allocations: 5.094 kB / 401.8 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3482, allocations: 0.7969 kB / 401.8 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.3485, allocations: 200.4 kB / 402 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.3485, allocations: 10.95 kB / 402 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.3485, allocations: 0.8438 kB / 402 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3486, allocations: 9.312 kB / 402 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.3486, allocations: 4.75 kB / 402 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.3486, allocations: 1.766 kB / 402 MB, free: 5.645 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.122e-05/0.3487, allocations: 95.83 kB / 402.1 MB, free: 5.562 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3487, allocations: 0 / 402.1 MB, free: 5.562 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.3489, allocations: 21.5 kB / 402.1 MB, free: 5.551 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 8.442e-05/0.349, allocations: 94.55 kB / 402.2 MB, free: 5.461 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.3493, allocations: 62.19 kB / 402.3 MB, free: 5.449 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3493, allocations: 1.094 kB / 402.3 MB, free: 5.449 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.3494, allocations: 35.41 kB / 402.3 MB, free: 5.441 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.3497, allocations: 7.078 kB / 402.3 MB, free: 5.438 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.3502, allocations: 195.1 kB / 402.5 MB, free: 5.289 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.278e-05/0.3503, allocations: 73.67 kB / 402.6 MB, free: 5.219 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.336e-05/0.3503, allocations: 8.047 kB / 402.6 MB, free: 5.215 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.3504, allocations: 15.06 kB / 402.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3504, allocations: 0 / 402.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of Templates: time 0.00422/0.3546, allocations: 0.8476 MB / 403.4 MB, free: 5.055 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","/var/lib/jenkins/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: 4.879784179851413]