Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 124.5 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 190.6 kB / 21.4 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 225.6 MB / 249.8 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 51.92 kB / 366.8 MB, free: 324 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09335/0.0948, allocations: 52.14 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002827/0.09763, allocations: 1.594 MB / 420.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009242/0.09855, allocations: 0.5181 MB / 421.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.654e-05/0.09861, allocations: 0 / 421.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.734e-05/0.09865, allocations: 7.875 kB / 421.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.88e-05/0.09872, allocations: 19.88 kB / 421.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.09895, allocations: 43.89 kB / 421.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.253e-05/0.09904, allocations: 47.84 kB / 421.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.09915, allocations: 19.97 kB / 421.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.799e-05/0.09918, allocations: 23.88 kB / 421.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.09924, allocations: 19.86 kB / 421.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.09925, allocations: 4 kB / 421.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.09942, allocations: 47.95 kB / 421.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.09944, allocations: 19.92 kB / 421.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.09948, allocations: 31.8 kB / 421.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.09965, allocations: 83.58 kB / 421.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.09966, allocations: 4 kB / 421.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.09966, allocations: 0 / 421.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.09966, allocations: 0 / 421.4 MB, free: 9.59 MB / 350.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.000489/0.1002, allocations: 375.1 kB / 421.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1002, allocations: 8.031 kB / 421.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003636/0.1006, allocations: 48.84 kB / 421.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.1007, allocations: 176.3 kB / 422 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.1007, allocations: 4.375 kB / 422 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.1007, allocations: 11.88 kB / 422 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.101, allocations: 89.58 kB / 422.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.101, allocations: 0 / 422.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.101, allocations: 4 kB / 422.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.101, allocations: 3.984 kB / 422.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.1012, allocations: 67.95 kB / 422.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.1018, allocations: 352.6 kB / 422.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.102, allocations: 66.53 kB / 422.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.1021, allocations: 36.95 kB / 422.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.1022, allocations: 0 / 422.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.1022, allocations: 38.56 kB / 422.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.1022, allocations: 0 / 422.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004134/0.1026, allocations: 125.5 kB / 422.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.1027, allocations: 59.34 kB / 422.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1028, allocations: 122.1 kB / 423 MB, free: 7.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.1028, allocations: 25.7 kB / 423 MB, free: 7.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.1029, allocations: 100.1 kB / 423.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.1029, allocations: 23.8 kB / 423.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.1029, allocations: 17.7 kB / 423.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1031, allocations: 314.8 kB / 423.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.1032, allocations: 31.97 kB / 423.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.045e-05/0.1033, allocations: 27.98 kB / 423.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.1035, allocations: 52.81 kB / 423.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1035, allocations: 384 / 423.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002479/0.1037, allocations: 101.6 kB / 423.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1037, allocations: 8 kB / 423.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1037, allocations: 0 / 423.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1037, allocations: 3.938 kB / 423.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.1039, allocations: 15.98 kB / 423.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1039, allocations: 4 kB / 423.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.745e-05/0.104, allocations: 11.94 kB / 423.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.104, allocations: 4 kB / 423.7 MB, free: 7.078 MB / 350.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 9.368e-05/0.1041, allocations: 113.8 kB / 423.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.1041, allocations: 8 kB / 423.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.1044, allocations: 113.5 kB / 423.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1044, allocations: 0 / 423.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1044, allocations: 3.938 kB / 423.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1044, allocations: 3.984 kB / 424 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.1046, allocations: 189.6 kB / 424.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1046, allocations: 0 / 424.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.1047, allocations: 19.98 kB / 424.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1047, allocations: 3.984 kB / 424.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1048, allocations: 7.938 kB / 424.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1048, allocations: 0 / 424.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1048, allocations: 0 / 424.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.1051, allocations: 199.4 kB / 424.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.1051, allocations: 85.09 kB / 424.4 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.1051, allocations: 3.938 kB / 424.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1052, allocations: 8 kB / 424.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.1053, allocations: 3.984 kB / 424.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1053, allocations: 192 / 424.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.435e-05/0.1053, allocations: 102.5 kB / 424.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1053, allocations: 0 / 424.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.1056, allocations: 19.89 kB / 424.6 MB, free: 6.109 MB / 350.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 0.0001111/0.1057, allocations: 99.72 kB / 424.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.1059, allocations: 75.81 kB / 424.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1059, allocations: 0 / 424.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1061, allocations: 31.98 kB / 424.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.1063, allocations: 4 kB / 424.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004834/0.1068, allocations: 219.1 kB / 425 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.1071, allocations: 0.6885 MB / 425.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/0.1072, allocations: 15.42 kB / 425.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1072, allocations: 0 / 425.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of Templates: time 0.002471/0.1096, allocations: 0.9971 MB / 426.7 MB, free: 3.926 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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: 6.222518132068217]