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.0009333/0.0009333, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009765/0.0009765, allocations: 168.7 kB / 24.91 MB, free: 9.191 MB / 18.57 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 0.9109/0.9109, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 1.062e-06/1.062e-06, allocations: 0 / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.463e-05, allocations: 2.312 kB / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.001811/0.001825, allocations: 1.631 MB / 275.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006959/0.002521, allocations: 0.5724 MB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.002561, allocations: 0 / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.509e-05/0.002586, allocations: 3.938 kB / 275.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.683e-05/0.002653, allocations: 15.88 kB / 275.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.002846, allocations: 55.75 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.397e-05/0.00291, allocations: 51.84 kB / 275.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.348e-05/0.002983, allocations: 8 kB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.611e-05/0.003029, allocations: 35.89 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.229e-05/0.003072, allocations: 15.92 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.003087, allocations: 8 kB / 275.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.00324, allocations: 47.89 kB / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.003254, allocations: 19.92 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.003271, allocations: 19.92 kB / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.003385, allocations: 75.72 kB / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.003387, allocations: 0 / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003387, allocations: 0 / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.00339, allocations: 0 / 276 MB, free: 14.74 MB / 266.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.0002641/0.003654, allocations: 272.6 kB / 276.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.726e-05/0.003681, allocations: 12.03 kB / 276.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002398/0.003921, allocations: 64.81 kB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.631e-05/0.003987, allocations: 117.6 kB / 276.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.004006, allocations: 12.38 kB / 276.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.004017, allocations: 8.312 kB / 276.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.004126, allocations: 82.91 kB / 276.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.004132, allocations: 192 / 276.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.00414, allocations: 4.375 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.004145, allocations: 3.938 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.277e-05/0.004178, allocations: 15.98 kB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.004449, allocations: 216.1 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.457e-05/0.004513, allocations: 46.42 kB / 276.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.004532, allocations: 8.859 kB / 276.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.004542, allocations: 4 kB / 276.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.004559, allocations: 30.56 kB / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.004561, allocations: 0 / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001152/0.004676, allocations: 53.8 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.004701, allocations: 55.41 kB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.214e-05/0.004753, allocations: 122.6 kB / 277.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.004764, allocations: 25.7 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.004795, allocations: 104 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.004815, allocations: 19.8 kB / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.004842, allocations: 21.7 kB / 277.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.599e-05/0.004908, allocations: 314.8 kB / 277.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.324e-05/0.004922, allocations: 4 kB / 277.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.383e-05/0.004935, allocations: 7.984 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.42e-05/0.00497, allocations: 20.84 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.004972, allocations: 3.938 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.309e-05/0.005025, allocations: 41.69 kB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.005034, allocations: 8 kB / 277.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.005037, allocations: 4 kB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.005046, allocations: 3.938 kB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.005113, allocations: 19.98 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-06/0.005115, allocations: 448 / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.591e-05/0.005141, allocations: 7.984 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.005145, allocations: 3.938 kB / 277.7 MB, free: 12.88 MB / 266.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.744e-05/0.005193, allocations: 113.8 kB / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.005207, allocations: 4 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.287e-05/0.00529, allocations: 69.78 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.005292, allocations: 0 / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.005294, allocations: 4 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.005296, allocations: 0 / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.792e-05/0.005384, allocations: 81.86 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.005385, allocations: 3.938 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.005424, allocations: 15.98 kB / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.005427, allocations: 3.938 kB / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.005432, allocations: 4 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.005433, allocations: 4 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.005434, allocations: 0 / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.596e-05/0.005509, allocations: 147.5 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.005516, allocations: 11.89 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-06/0.005525, allocations: 0 / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.418e-05/0.005569, allocations: 15.98 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.005581, allocations: 0 / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.005584, allocations: 0 / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.72e-05/0.005601, allocations: 25.16 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005601, allocations: 0 / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001183/0.005719, allocations: 19.94 kB / 278.2 MB, free: 12.32 MB / 266.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.256e-05/0.005782, allocations: 72.42 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.313e-05/0.005845, allocations: 28.83 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.005847, allocations: 0 / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.143e-05/0.005869, allocations: 24.78 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.005988, allocations: 8.375 kB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002098/0.006198, allocations: 164.2 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.197e-05/0.00623, allocations: 59.34 kB / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.683e-05/0.006257, allocations: 8 kB / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.251e-05/0.006309, allocations: 59.36 kB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.00631, allocations: 3.938 kB / 278.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of Templates: time 0.001938/0.008248, allocations: 0.8025 MB / 279.4 MB, free: 11.04 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 240] 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","",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.563555534929037]