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.001952/0.001952, allocations: 119.4 kB / 18.41 MB, free: 4.637 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.002052/0.002052, allocations: 192.3 kB / 21.35 MB, free: 1.699 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.459/1.459, allocations: 222.9 MB / 247 MB, free: 4.34 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.002097/0.002097, allocations: 47.92 kB / 358.7 MB, free: 8.461 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1116, allocations: 49.44 MB / 408.1 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002749/0.1144, allocations: 1.557 MB / 409.7 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009607/0.1154, allocations: 0.522 MB / 410.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.488e-05/0.1154, allocations: 0 / 410.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.1155, allocations: 3.938 kB / 410.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.648e-05/0.1155, allocations: 19.86 kB / 410.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.1158, allocations: 43.83 kB / 410.3 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.359e-05/0.1159, allocations: 47.84 kB / 410.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.116, allocations: 31.97 kB / 410.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.811e-05/0.1161, allocations: 19.92 kB / 410.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.155e-05/0.1161, allocations: 31.78 kB / 410.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.1162, allocations: 7.938 kB / 410.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.1163, allocations: 43.97 kB / 410.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.1164, allocations: 8 kB / 410.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.1164, allocations: 31.78 kB / 410.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.1166, allocations: 83.64 kB / 410.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1166, allocations: 4 kB / 410.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1166, allocations: 0 / 410.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1166, allocations: 0 / 410.6 MB, free: 4.516 MB / 334.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.0004797/0.1171, allocations: 380.9 kB / 410.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1171, allocations: 12.03 kB / 410.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003628/0.1175, allocations: 48.77 kB / 411 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.1177, allocations: 172.3 kB / 411.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.1177, allocations: 12.38 kB / 411.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.1177, allocations: 7.938 kB / 411.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.118, allocations: 85.64 kB / 411.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.118, allocations: 0 / 411.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.118, allocations: 0 / 411.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.118, allocations: 0 / 411.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002183/0.1182, allocations: 71.89 kB / 411.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006346/0.1189, allocations: 344.7 kB / 411.7 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.1191, allocations: 74.48 kB / 411.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.1192, allocations: 32.95 kB / 411.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.1193, allocations: 11.98 kB / 411.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.1193, allocations: 34.56 kB / 411.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.1193, allocations: 0 / 411.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.000419/0.1197, allocations: 121.5 kB / 411.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.1198, allocations: 55.34 kB / 412 MB, free: 2.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.1199, allocations: 126 kB / 412.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1199, allocations: 33.64 kB / 412.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.288e-05/0.12, allocations: 104 kB / 412.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.12, allocations: 19.86 kB / 412.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.1201, allocations: 17.7 kB / 412.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1202, allocations: 314.8 kB / 412.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.1204, allocations: 27.97 kB / 412.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.312e-05/0.1205, allocations: 31.98 kB / 412.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.1207, allocations: 56.81 kB / 412.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1207, allocations: 0 / 412.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002488/0.1209, allocations: 93.59 kB / 412.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1209, allocations: 4 kB / 412.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.121, allocations: 0 / 412.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.121, allocations: 7.938 kB / 412.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.1211, allocations: 23.97 kB / 412.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1211, allocations: 3.984 kB / 412.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.1212, allocations: 15.89 kB / 412.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1212, allocations: 3.984 kB / 412.9 MB, free: 1.992 MB / 334.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.912e-05/0.1214, allocations: 113.8 kB / 413 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.1214, allocations: 0 / 413 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.1217, allocations: 121.9 kB / 413.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1217, allocations: 0 / 413.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1217, allocations: 64 / 413.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.1217, allocations: 8 kB / 413.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.122, allocations: 185.6 kB / 413.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.122, allocations: 3.984 kB / 413.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.1221, allocations: 15.98 kB / 413.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1221, allocations: 4 kB / 413.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1221, allocations: 7.938 kB / 413.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1221, allocations: 0 / 413.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1222, allocations: 3.984 kB / 413.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.1225, allocations: 199.5 kB / 413.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.1225, allocations: 81.11 kB / 413.6 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.1226, allocations: 3.938 kB / 413.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1227, allocations: 15.98 kB / 413.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.1227, allocations: 3.938 kB / 413.6 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.1227, allocations: 4 kB / 413.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.512e-05/0.1228, allocations: 99.2 kB / 413.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1228, allocations: 0 / 413.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.1231, allocations: 15.95 kB / 413.7 MB, free: 1.02 MB / 334.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.0001288/0.1232, allocations: 95.72 kB / 413.8 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002858/0.1235, allocations: 67.94 kB / 413.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.1235, allocations: 4 kB / 413.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.1236, allocations: 35.92 kB / 413.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.1239, allocations: 18.11 kB / 413.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/0.1244, allocations: 215.1 kB / 414.2 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.1248, allocations: 0.6986 MB / 414.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.616e-05/0.1248, allocations: 7.438 kB / 414.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1248, allocations: 0 / 414.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of Templates: time 0.00272/0.1276, allocations: 0.9837 MB / 415.8 MB, free: 14.85 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.557238932000473]