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.001464/0.001464, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001711/0.001711, allocations: 166.9 kB / 25.02 MB, free: 8.949 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 1.679/1.679, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 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: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.321e-05, allocations: 2.312 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003346/0.003379, allocations: 1.563 MB / 251.9 MB, free: 6.258 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.0045, allocations: 0.5359 MB / 252.5 MB, free: 5.715 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.004548, allocations: 4 kB / 252.5 MB, free: 5.711 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.098e-05/0.004589, allocations: 11.86 kB / 252.5 MB, free: 5.699 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.235e-05/0.004671, allocations: 7.875 kB / 252.5 MB, free: 5.691 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.004925, allocations: 47.77 kB / 252.5 MB, free: 5.645 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.005029, allocations: 55.84 kB / 252.6 MB, free: 5.59 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.005142, allocations: 15.98 kB / 252.6 MB, free: 5.574 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.638e-05/0.005209, allocations: 31.91 kB / 252.6 MB, free: 5.543 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.241e-05/0.005261, allocations: 19.91 kB / 252.6 MB, free: 5.523 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.005279, allocations: 8 kB / 252.7 MB, free: 5.516 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.005457, allocations: 43.95 kB / 252.7 MB, free: 5.473 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.005479, allocations: 7.938 kB / 252.7 MB, free: 5.465 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.705e-05/0.005516, allocations: 15.92 kB / 252.7 MB, free: 5.449 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.005712, allocations: 91.62 kB / 252.8 MB, free: 5.359 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.005717, allocations: 4 kB / 252.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005718, allocations: 0 / 252.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.005726, allocations: 3.984 kB / 252.8 MB, free: 5.352 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.000491/0.006217, allocations: 298 kB / 253.1 MB, free: 5.031 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.006254, allocations: 11.98 kB / 253.1 MB, free: 5.02 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000433/0.006687, allocations: 60.8 kB / 253.2 MB, free: 4.961 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.006808, allocations: 117.6 kB / 253.3 MB, free: 4.82 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.00683, allocations: 4.375 kB / 253.3 MB, free: 4.816 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.006853, allocations: 16.3 kB / 253.3 MB, free: 4.801 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.007077, allocations: 78.22 kB / 253.4 MB, free: 4.719 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.007085, allocations: 192 / 253.4 MB, free: 4.719 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.0071, allocations: 4.375 kB / 253.4 MB, free: 4.715 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.007106, allocations: 3.938 kB / 253.4 MB, free: 4.711 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002235/0.007329, allocations: 75.92 kB / 253.5 MB, free: 4.637 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.007922, allocations: 276.3 kB / 253.7 MB, free: 4.336 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.008137, allocations: 70.53 kB / 253.8 MB, free: 4.258 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.00824, allocations: 32.97 kB / 253.8 MB, free: 4.223 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.008259, allocations: 4 kB / 253.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.008296, allocations: 34.56 kB / 253.9 MB, free: 4.176 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.008296, allocations: 3.938 kB / 253.9 MB, free: 4.172 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004486/0.008745, allocations: 125.5 kB / 254 MB, free: 4.039 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.00879, allocations: 51.41 kB / 254.1 MB, free: 3.977 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.0089, allocations: 113.8 kB / 254.2 MB, free: 3.855 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.008925, allocations: 29.7 kB / 254.2 MB, free: 3.82 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.855e-05/0.009004, allocations: 100 kB / 254.3 MB, free: 3.719 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.009037, allocations: 19.89 kB / 254.3 MB, free: 3.699 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.009087, allocations: 21.7 kB / 254.3 MB, free: 3.672 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.009259, allocations: 314.8 kB / 254.6 MB, free: 3.355 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.009359, allocations: 31.97 kB / 254.7 MB, free: 3.324 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.871e-05/0.009448, allocations: 24.36 kB / 254.7 MB, free: 3.301 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.009648, allocations: 68.75 kB / 254.8 MB, free: 3.23 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.00965, allocations: 4 kB / 254.8 MB, free: 3.227 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002464/0.009897, allocations: 89.61 kB / 254.9 MB, free: 3.133 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.009915, allocations: 8 kB / 254.9 MB, free: 3.125 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.00992, allocations: 0 / 254.9 MB, free: 3.125 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.009938, allocations: 0 / 254.9 MB, free: 3.125 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.01008, allocations: 19.97 kB / 254.9 MB, free: 3.105 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.01008, allocations: 0 / 254.9 MB, free: 3.105 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.119e-05/0.01016, allocations: 12 kB / 254.9 MB, free: 3.094 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.01017, allocations: 3.984 kB / 254.9 MB, free: 3.09 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 0.0001116/0.01029, allocations: 121.7 kB / 255 MB, free: 2.961 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.01032, allocations: 7.953 kB / 255 MB, free: 2.953 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.01065, allocations: 109.8 kB / 255.1 MB, free: 2.84 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01065, allocations: 0 / 255.1 MB, free: 2.84 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.01066, allocations: 0 / 255.1 MB, free: 2.84 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.01066, allocations: 4 kB / 255.1 MB, free: 2.836 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.01086, allocations: 133.2 kB / 255.3 MB, free: 2.676 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01086, allocations: 0 / 255.3 MB, free: 2.676 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.01098, allocations: 23.97 kB / 255.3 MB, free: 2.652 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01098, allocations: 0 / 255.3 MB, free: 2.652 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.01099, allocations: 0 / 255.3 MB, free: 2.652 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.01099, allocations: 0 / 255.3 MB, free: 2.652 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01099, allocations: 3.938 kB / 255.3 MB, free: 2.648 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.01139, allocations: 207.5 kB / 255.5 MB, free: 2.43 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.0114, allocations: 11.95 kB / 255.5 MB, free: 2.418 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.01142, allocations: 0 / 255.5 MB, free: 2.418 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.01153, allocations: 15.98 kB / 255.5 MB, free: 2.402 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.01158, allocations: 0 / 255.5 MB, free: 2.402 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.01158, allocations: 0 / 255.5 MB, free: 2.402 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.828e-05/0.01166, allocations: 95.27 kB / 255.6 MB, free: 2.309 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01166, allocations: 0 / 255.6 MB, free: 2.309 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002287/0.01189, allocations: 8 kB / 255.6 MB, free: 2.301 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 0.0001403/0.01203, allocations: 95.25 kB / 255.7 MB, free: 2.195 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002949/0.01232, allocations: 71.88 kB / 255.8 MB, free: 2.125 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01233, allocations: 0 / 255.8 MB, free: 2.125 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.01244, allocations: 27.98 kB / 255.8 MB, free: 2.098 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.0128, allocations: 15.92 kB / 255.8 MB, free: 2.082 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006016/0.01341, allocations: 195.2 kB / 256 MB, free: 1.867 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.562e-05/0.0135, allocations: 79.27 kB / 256.1 MB, free: 1.77 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.756e-05/0.01355, allocations: 4 kB / 256.1 MB, free: 1.766 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.107e-05/0.0136, allocations: 16.5 kB / 256.1 MB, free: 1.75 MB / 234.7 MB Notification: Performance of SimCode: time 6.92e-07/0.0136, allocations: 4 kB / 256.1 MB, free: 1.746 MB / 234.7 MB Notification: Performance of Templates: time 0.003684/0.01728, allocations: 0.7965 MB / 256.9 MB, free: 0.9609 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","/var/lib/jenkins/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.694523522048257]