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.001724/0.001724, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 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.001773/0.001773, allocations: 208.9 kB / 23.73 MB, free: 4.523 MB / 14.72 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.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001646/0.001646, allocations: 47.92 kB / 378.2 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2751, allocations: 53.37 MB / 431.6 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002927/0.2781, allocations: 1.576 MB / 433.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2792, allocations: 0.5376 MB / 433.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.933e-05/0.2792, allocations: 0 / 433.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.413e-05/0.2793, allocations: 3.938 kB / 433.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.344e-05/0.2794, allocations: 23.84 kB / 433.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.2796, allocations: 43.84 kB / 433.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.2797, allocations: 55.78 kB / 433.8 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.2799, allocations: 27.97 kB / 433.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.722e-05/0.2799, allocations: 19.88 kB / 433.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.788e-05/0.28, allocations: 31.84 kB / 433.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.28, allocations: 4 kB / 433.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/0.2802, allocations: 47.95 kB / 433.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.2802, allocations: 15.94 kB / 434 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.2803, allocations: 23.8 kB / 434 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.2805, allocations: 85.19 kB / 434.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2805, allocations: 0 / 434.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2805, allocations: 0 / 434.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.2805, allocations: 0 / 434.1 MB, free: 4.168 MB / 334.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.0005075/0.281, allocations: 313.7 kB / 434.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.281, allocations: 8.031 kB / 434.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004419/0.2815, allocations: 44.84 kB / 434.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.2816, allocations: 126.4 kB / 434.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.2816, allocations: 4.312 kB / 434.6 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.2816, allocations: 8.375 kB / 434.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.2819, allocations: 93.95 kB / 434.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2819, allocations: 4 kB / 434.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.2819, allocations: 4 kB / 434.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2819, allocations: 0 / 434.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.2821, allocations: 59.95 kB / 434.7 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.2827, allocations: 284.2 kB / 435 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.2829, allocations: 70.53 kB / 435.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.283, allocations: 36.95 kB / 435.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.283, allocations: 4 kB / 435.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.2831, allocations: 34.5 kB / 435.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.2831, allocations: 0 / 435.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004232/0.2835, allocations: 117.6 kB / 435.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.2835, allocations: 55.41 kB / 435.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.2836, allocations: 121.7 kB / 435.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.2836, allocations: 25.7 kB / 435.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.2837, allocations: 104 kB / 435.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.2837, allocations: 15.84 kB / 435.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.2838, allocations: 21.7 kB / 435.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2839, allocations: 314.8 kB / 435.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.284, allocations: 31.97 kB / 435.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.116e-05/0.2841, allocations: 27.98 kB / 436 MB, free: 2.117 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.2843, allocations: 65.12 kB / 436 MB, free: 2.051 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2843, allocations: 0 / 436 MB, free: 2.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002444/0.2846, allocations: 93.61 kB / 436.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2846, allocations: 4 kB / 436.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2846, allocations: 0 / 436.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2846, allocations: 7.938 kB / 436.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.2847, allocations: 23.97 kB / 436.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2847, allocations: 0 / 436.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.02e-05/0.2848, allocations: 11.94 kB / 436.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.2848, allocations: 3.984 kB / 436.2 MB, free: 1.902 MB / 334.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 9.103e-05/0.2849, allocations: 117.8 kB / 436.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.285, allocations: 7.953 kB / 436.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/0.2853, allocations: 113.7 kB / 436.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2853, allocations: 4 kB / 436.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2853, allocations: 0 / 436.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.2853, allocations: 3.938 kB / 436.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.2855, allocations: 133.3 kB / 436.5 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2855, allocations: 0 / 436.5 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.2856, allocations: 15.98 kB / 436.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.2856, allocations: 0 / 436.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.2856, allocations: 4 kB / 436.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2856, allocations: 4 kB / 436.6 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2856, allocations: 0 / 436.6 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.2859, allocations: 203.3 kB / 436.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-06/0.2859, allocations: 192 / 436.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.286, allocations: 11.94 kB / 436.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.2861, allocations: 7.984 kB / 436.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.2861, allocations: 8 kB / 436.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.2861, allocations: 3.984 kB / 436.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.538e-05/0.2861, allocations: 91.28 kB / 436.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2861, allocations: 0 / 436.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.2864, allocations: 23.83 kB / 436.9 MB, free: 1.098 MB / 334.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 0.0001168/0.2865, allocations: 91.23 kB / 437 MB, free: 1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.2868, allocations: 67.89 kB / 437.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2868, allocations: 0 / 437.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.2869, allocations: 35.97 kB / 437.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.2872, allocations: 8 kB / 437.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004505/0.2877, allocations: 181.6 kB / 437.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.762e-05/0.2877, allocations: 79.27 kB / 437.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.009e-05/0.2878, allocations: 11.98 kB / 437.4 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.2878, allocations: 7.438 kB / 437.4 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2878, allocations: 0 / 437.4 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of Templates: time 0.003277/0.2911, allocations: 0.8157 MB / 438.2 MB, free: 15.78 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.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.83091030176729]