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.001404/0.001404, allocations: 84 kB / 22 MB, free: 5.176 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.001427/0.001427, allocations: 161.8 kB / 25.25 MB, free: 3.023 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.416/1.416, allocations: 158.6 MB / 187 MB, free: 6.242 MB / 174.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.001875/0.001875, allocations: 51.92 kB / 299.4 MB, free: 6.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2721, allocations: 49.14 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.00314/0.2752, allocations: 1.549 MB / 350.1 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.2763, allocations: 0.5438 MB / 350.6 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.467e-05/0.2763, allocations: 4 kB / 350.6 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.2763, allocations: 3.938 kB / 350.6 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.159e-05/0.2764, allocations: 11.88 kB / 350.6 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.2767, allocations: 47.81 kB / 350.7 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.624e-05/0.2768, allocations: 51.84 kB / 350.7 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2769, allocations: 15.66 kB / 350.7 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.95e-05/0.2769, allocations: 19.92 kB / 350.8 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.602e-05/0.277, allocations: 23.86 kB / 350.8 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.277, allocations: 4 kB / 350.8 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.2771, allocations: 51.89 kB / 350.8 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.2772, allocations: 15.92 kB / 350.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.2772, allocations: 19.88 kB / 350.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.2774, allocations: 78.52 kB / 350.9 MB, free: 13.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2774, allocations: 3.938 kB / 350.9 MB, free: 13.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2774, allocations: 0 / 350.9 MB, free: 13.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.2774, allocations: 0 / 350.9 MB, free: 13.06 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.0004187/0.2778, allocations: 313.6 kB / 351.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.2778, allocations: 11.98 kB / 351.3 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003586/0.2782, allocations: 44.84 kB / 351.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.2783, allocations: 126.4 kB / 351.4 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.2783, allocations: 4.375 kB / 351.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.2783, allocations: 4.375 kB / 351.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.2786, allocations: 89.95 kB / 351.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.2786, allocations: 4 kB / 351.5 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.2786, allocations: 0 / 351.5 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.2786, allocations: 0 / 351.5 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.2788, allocations: 75.88 kB / 351.6 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/0.2793, allocations: 272.4 kB / 351.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.2795, allocations: 62.48 kB / 351.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.2796, allocations: 40.95 kB / 352 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.2796, allocations: 0 / 352 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.2797, allocations: 34.56 kB / 352 MB, free: 11.89 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.2797, allocations: 4 kB / 352 MB, free: 11.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003912/0.2801, allocations: 121.6 kB / 352.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.2801, allocations: 55.34 kB / 352.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.054e-05/0.2802, allocations: 117.9 kB / 352.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.2802, allocations: 29.7 kB / 352.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.2803, allocations: 100 kB / 352.4 MB, free: 11.44 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.2803, allocations: 11.84 kB / 352.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.2803, allocations: 21.7 kB / 352.5 MB, free: 11.4 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.2805, allocations: 326.8 kB / 352.8 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.644e-05/0.2806, allocations: 23.97 kB / 352.8 MB, free: 11.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.884e-05/0.2807, allocations: 23.98 kB / 352.8 MB, free: 11.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.2809, allocations: 60.81 kB / 352.9 MB, free: 10.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2809, allocations: 0 / 352.9 MB, free: 10.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002469/0.2811, allocations: 98.03 kB / 353 MB, free: 10.86 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2811, allocations: 8 kB / 353 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.2811, allocations: 3.938 kB / 353 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.2811, allocations: 0 / 353 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.2813, allocations: 15.98 kB / 353 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2813, allocations: 7.984 kB / 353 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.362e-05/0.2814, allocations: 15.94 kB / 353 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.2814, allocations: 0 / 353 MB, free: 10.81 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 8.936e-05/0.2815, allocations: 117.8 kB / 353.1 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.2815, allocations: 11.95 kB / 353.2 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.2818, allocations: 105.7 kB / 353.3 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2818, allocations: 0 / 353.3 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2818, allocations: 3.938 kB / 353.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.2818, allocations: 7.922 kB / 353.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.282, allocations: 129.3 kB / 353.4 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.282, allocations: 0 / 353.4 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.2821, allocations: 19.98 kB / 353.4 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.2821, allocations: 4 kB / 353.4 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.2821, allocations: 3.984 kB / 353.4 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2821, allocations: 0 / 353.4 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2821, allocations: 0 / 353.4 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.2824, allocations: 195.4 kB / 353.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.2824, allocations: 11.95 kB / 353.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.2825, allocations: 7.922 kB / 353.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.2826, allocations: 12 kB / 353.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/0.2826, allocations: 3.984 kB / 353.7 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.2826, allocations: 7.938 kB / 353.7 MB, free: 10.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.469e-05/0.2827, allocations: 91.27 kB / 353.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2827, allocations: 0 / 353.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.2829, allocations: 19.88 kB / 353.8 MB, free: 10 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.476e-05/0.283, allocations: 91.25 kB / 353.9 MB, free: 9.906 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.2832, allocations: 63.95 kB / 353.9 MB, free: 9.844 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.2832, allocations: 4 kB / 353.9 MB, free: 9.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.2833, allocations: 36.16 kB / 354 MB, free: 9.805 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.2836, allocations: 4.125 kB / 354 MB, free: 9.801 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.284, allocations: 201.3 kB / 354.2 MB, free: 9.578 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.092e-05/0.2841, allocations: 87.27 kB / 354.2 MB, free: 9.473 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.026e-05/0.2842, allocations: 3.984 kB / 354.2 MB, free: 9.469 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.2842, allocations: 12.5 kB / 354.3 MB, free: 9.453 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2842, allocations: 0 / 354.3 MB, free: 9.453 MB / 318.1 MB Notification: Performance of Templates: time 0.003034/0.2872, allocations: 0.7986 MB / 355.1 MB, free: 8.652 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 -s ida -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: 4.2537622910458595]