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.001707/0.001707, allocations: 102.6 kB / 21.93 MB, free: 5.203 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.001906/0.001906, allocations: 202.2 kB / 25.22 MB, free: 3.141 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.558/1.558, allocations: 207.7 MB / 236.1 MB, free: 9.781 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.002728/0.002728, allocations: 67.05 kB / 348.4 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3902, allocations: 49.16 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.002858/0.3931, allocations: 1.549 MB / 399.2 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.3941, allocations: 0.54 MB / 399.7 MB, free: 7.977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.551e-05/0.3942, allocations: 1.094 kB / 399.7 MB, free: 7.977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/0.3942, allocations: 4.828 kB / 399.7 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.37e-05/0.3943, allocations: 17.88 kB / 399.7 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.3946, allocations: 44.48 kB / 399.8 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.215e-05/0.3947, allocations: 50.77 kB / 399.8 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3948, allocations: 17.45 kB / 399.8 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.829e-05/0.3948, allocations: 17.22 kB / 399.8 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.636e-05/0.3949, allocations: 27.19 kB / 399.9 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.3949, allocations: 5.219 kB / 399.9 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.3951, allocations: 54.92 kB / 399.9 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.3951, allocations: 11.98 kB / 399.9 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.3951, allocations: 22.53 kB / 400 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.3953, allocations: 80.58 kB / 400 MB, free: 7.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3953, allocations: 0.875 kB / 400 MB, free: 7.805 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3953, allocations: 0 / 400 MB, free: 7.805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3953, allocations: 1.125 kB / 400 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.0003972/0.3957, allocations: 304.5 kB / 400.3 MB, free: 7.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3958, allocations: 13.73 kB / 400.4 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003669/0.3961, allocations: 46.7 kB / 400.4 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.233e-05/0.3962, allocations: 128.8 kB / 400.5 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.3963, allocations: 3.5 kB / 400.5 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.3963, allocations: 8.312 kB / 400.5 MB, free: 7.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.3965, allocations: 85.33 kB / 400.6 MB, free: 7.309 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3965, allocations: 0.5625 kB / 400.6 MB, free: 7.309 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.3965, allocations: 5.094 kB / 400.6 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.3965, allocations: 4.969 kB / 400.6 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.3968, allocations: 71.72 kB / 400.7 MB, free: 7.281 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005088/0.3973, allocations: 273.2 kB / 401 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.3975, allocations: 71.06 kB / 401 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.982e-05/0.3976, allocations: 30.92 kB / 401.1 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.3976, allocations: 1.219 kB / 401.1 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.3976, allocations: 40.64 kB / 401.1 MB, free: 6.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3976, allocations: 4 kB / 401.1 MB, free: 6.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003977/0.398, allocations: 117.8 kB / 401.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.398, allocations: 52.02 kB / 401.3 MB, free: 6.836 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.095e-05/0.3981, allocations: 117 kB / 401.4 MB, free: 6.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.3981, allocations: 25.7 kB / 401.4 MB, free: 6.699 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.3981, allocations: 103.2 kB / 401.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.3982, allocations: 19.64 kB / 401.5 MB, free: 6.586 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.3982, allocations: 23.02 kB / 401.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.42e-05/0.3983, allocations: 319.4 kB / 401.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.652e-05/0.3984, allocations: 24.47 kB / 401.9 MB, free: 6.242 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.776e-05/0.3985, allocations: 29.97 kB / 401.9 MB, free: 6.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.3986, allocations: 57.64 kB / 402 MB, free: 6.215 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3986, allocations: 0 / 402 MB, free: 6.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000225/0.3988, allocations: 97.05 kB / 402.1 MB, free: 6.164 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3989, allocations: 5.531 kB / 402.1 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3989, allocations: 0 / 402.1 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3989, allocations: 0.6094 kB / 402.1 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.399, allocations: 22.12 kB / 402.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.399, allocations: 0 / 402.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-05/0.3991, allocations: 17.72 kB / 402.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3991, allocations: 2.469 kB / 402.1 MB, free: 6.152 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.435e-05/0.3992, allocations: 118.8 kB / 402.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.3992, allocations: 7.047 kB / 402.2 MB, free: 6.027 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.3995, allocations: 107.3 kB / 402.3 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.3995, allocations: 5.344 kB / 402.4 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3995, allocations: 4.594 kB / 402.4 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3995, allocations: 3.938 kB / 402.4 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.3997, allocations: 127.3 kB / 402.5 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3997, allocations: 5.281 kB / 402.5 MB, free: 5.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.3998, allocations: 21.33 kB / 402.5 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3998, allocations: 1.312 kB / 402.5 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3998, allocations: 4.562 kB / 402.5 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3998, allocations: 1.797 kB / 402.5 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3998, allocations: 0 / 402.5 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.4, allocations: 196.3 kB / 402.7 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.4, allocations: 11.3 kB / 402.7 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.4001, allocations: 5.938 kB / 402.7 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.4002, allocations: 12.3 kB / 402.7 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.4002, allocations: 5.375 kB / 402.7 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.4002, allocations: 5.953 kB / 402.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.772e-05/0.4003, allocations: 94.67 kB / 402.8 MB, free: 5.559 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4003, allocations: 0 / 402.8 MB, free: 5.559 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002344/0.4005, allocations: 21.97 kB / 402.9 MB, free: 5.547 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.316e-05/0.4006, allocations: 91.67 kB / 403 MB, free: 5.461 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.4008, allocations: 65.02 kB / 403 MB, free: 5.445 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.4008, allocations: 0.9062 kB / 403 MB, free: 5.445 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.4009, allocations: 39.58 kB / 403.1 MB, free: 5.434 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.4013, allocations: 3.781 kB / 403.1 MB, free: 5.434 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005088/0.4018, allocations: 217.4 kB / 403.3 MB, free: 5.258 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.093e-05/0.4018, allocations: 79.89 kB / 403.4 MB, free: 5.184 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.4019, allocations: 11.03 kB / 403.4 MB, free: 5.176 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4019, allocations: 0 / 403.4 MB, free: 5.176 MB / 318.1 MB Notification: Performance of Templates: time 0.002927/0.4048, allocations: 0.9878 MB / 404.4 MB, free: 5.094 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: 7.056678054854274]