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.001126/0.001126, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 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.001288/0.001288, allocations: 168.1 kB / 25.7 MB, free: 8.438 MB / 18.57 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 0.8952/0.8952, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 251.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.121e-05, allocations: 6.312 kB / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.001978/0.001999, allocations: 1.592 MB / 253.1 MB, free: 5.668 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007974/0.002796, allocations: 0.5618 MB / 253.7 MB, free: 5.098 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.002851, allocations: 0 / 253.7 MB, free: 5.098 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.002883, allocations: 7.875 kB / 253.7 MB, free: 5.09 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.136e-05/0.002975, allocations: 23.86 kB / 253.7 MB, free: 5.066 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.003225, allocations: 43.83 kB / 253.8 MB, free: 5.023 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.4e-05/0.003299, allocations: 55.78 kB / 253.8 MB, free: 4.969 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.003411, allocations: 19.97 kB / 253.8 MB, free: 4.949 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.579e-05/0.003467, allocations: 23.98 kB / 253.9 MB, free: 4.926 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.022e-05/0.003527, allocations: 15.92 kB / 253.9 MB, free: 4.91 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.003546, allocations: 4 kB / 253.9 MB, free: 4.906 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.003736, allocations: 47.83 kB / 253.9 MB, free: 4.859 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.003765, allocations: 19.92 kB / 253.9 MB, free: 4.84 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.003786, allocations: 15.94 kB / 254 MB, free: 4.824 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.003927, allocations: 71.77 kB / 254 MB, free: 4.754 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003929, allocations: 0 / 254 MB, free: 4.754 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.00393, allocations: 0 / 254 MB, free: 4.754 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.003933, allocations: 0 / 254 MB, free: 4.754 MB / 234.7 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.0003123/0.004246, allocations: 272.6 kB / 254.3 MB, free: 4.465 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.004292, allocations: 15.98 kB / 254.3 MB, free: 4.449 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002478/0.004539, allocations: 52.84 kB / 254.4 MB, free: 4.398 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.792e-05/0.004627, allocations: 129.5 kB / 254.5 MB, free: 4.246 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.004644, allocations: 16.38 kB / 254.5 MB, free: 4.23 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.004656, allocations: 4.375 kB / 254.5 MB, free: 4.227 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.004775, allocations: 74.92 kB / 254.6 MB, free: 4.145 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.004781, allocations: 192 / 254.6 MB, free: 4.145 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.004792, allocations: 4.375 kB / 254.6 MB, free: 4.141 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.0048, allocations: 3.938 kB / 254.6 MB, free: 4.137 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.985e-05/0.00484, allocations: 15.98 kB / 254.6 MB, free: 4.121 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.005142, allocations: 208.1 kB / 254.8 MB, free: 3.902 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.082e-05/0.005213, allocations: 46.44 kB / 254.8 MB, free: 3.848 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.005234, allocations: 8.859 kB / 254.9 MB, free: 3.836 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.005245, allocations: 0 / 254.9 MB, free: 3.836 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.005264, allocations: 38.69 kB / 254.9 MB, free: 3.789 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.005265, allocations: 0 / 254.9 MB, free: 3.789 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001233/0.005389, allocations: 45.69 kB / 254.9 MB, free: 3.738 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.005418, allocations: 55.39 kB / 255 MB, free: 3.672 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.704e-05/0.005475, allocations: 122.7 kB / 255.1 MB, free: 3.539 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.005487, allocations: 25.7 kB / 255.1 MB, free: 3.508 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.005518, allocations: 100 kB / 255.2 MB, free: 3.406 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.005538, allocations: 19.84 kB / 255.3 MB, free: 3.387 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.005567, allocations: 21.66 kB / 255.3 MB, free: 3.359 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.239e-05/0.00564, allocations: 322.8 kB / 255.6 MB, free: 3.035 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.005653, allocations: 4 kB / 255.6 MB, free: 3.031 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.3e-05/0.005666, allocations: 4 kB / 255.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.036e-05/0.005697, allocations: 16.84 kB / 255.6 MB, free: 3.008 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005699, allocations: 3.938 kB / 255.6 MB, free: 3.004 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.477e-05/0.005754, allocations: 49.69 kB / 255.7 MB, free: 2.949 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.005763, allocations: 7.984 kB / 255.7 MB, free: 2.941 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.005767, allocations: 0 / 255.7 MB, free: 2.941 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.005778, allocations: 4 kB / 255.7 MB, free: 2.938 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.312e-05/0.005841, allocations: 20.36 kB / 255.7 MB, free: 2.918 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.005843, allocations: 3.938 kB / 255.7 MB, free: 2.914 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.005871, allocations: 11.94 kB / 255.7 MB, free: 2.902 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.005876, allocations: 0 / 255.7 MB, free: 2.902 MB / 234.7 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 4.936e-05/0.005925, allocations: 109.8 kB / 255.8 MB, free: 2.785 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.005942, allocations: 11.98 kB / 255.8 MB, free: 2.773 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.281e-05/0.006025, allocations: 61.8 kB / 255.9 MB, free: 2.707 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.006026, allocations: 4 kB / 255.9 MB, free: 2.703 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.006027, allocations: 0 / 255.9 MB, free: 2.703 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.00603, allocations: 0 / 255.9 MB, free: 2.703 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.369e-05/0.006124, allocations: 81.88 kB / 256 MB, free: 2.605 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006125, allocations: 0 / 256 MB, free: 2.605 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.006164, allocations: 19.92 kB / 256 MB, free: 2.586 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.006166, allocations: 3.938 kB / 256 MB, free: 2.582 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.006175, allocations: 11.97 kB / 256 MB, free: 2.57 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.006177, allocations: 0 / 256 MB, free: 2.57 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4e-07/0.006177, allocations: 0 / 256 MB, free: 2.57 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.88e-05/0.006266, allocations: 147.5 kB / 256.2 MB, free: 2.41 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.006273, allocations: 7.891 kB / 256.2 MB, free: 2.402 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.006282, allocations: 7.984 kB / 256.2 MB, free: 2.395 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.82e-05/0.00632, allocations: 8 kB / 256.2 MB, free: 2.387 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.006344, allocations: 3.984 kB / 256.2 MB, free: 2.383 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.006348, allocations: 4 kB / 256.2 MB, free: 2.379 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.448e-05/0.006362, allocations: 8.859 kB / 256.2 MB, free: 2.367 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006362, allocations: 0 / 256.2 MB, free: 2.367 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001149/0.006477, allocations: 16 kB / 256.2 MB, free: 2.352 MB / 234.7 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 6.765e-05/0.006545, allocations: 84.34 kB / 256.3 MB, free: 2.258 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.464e-05/0.00661, allocations: 20.84 kB / 256.3 MB, free: 2.234 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.006611, allocations: 4 kB / 256.3 MB, free: 2.23 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.034e-05/0.006632, allocations: 16.8 kB / 256.3 MB, free: 2.211 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.006756, allocations: 8.375 kB / 256.3 MB, free: 2.203 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.007019, allocations: 187.2 kB / 256.5 MB, free: 1.996 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.517e-05/0.007055, allocations: 59.34 kB / 256.6 MB, free: 1.918 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.489e-05/0.007089, allocations: 11.94 kB / 256.6 MB, free: 1.906 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.007146, allocations: 59.36 kB / 256.7 MB, free: 1.848 MB / 234.7 MB Notification: Performance of SimCode: time 7.11e-07/0.007147, allocations: 4 kB / 256.7 MB, free: 1.844 MB / 234.7 MB Notification: Performance of Templates: time 0.002265/0.009411, allocations: 0.8385 MB / 257.5 MB, free: 1.016 MB / 234.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5510704168118536]