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.001251/0.001251, allocations: 123.9 kB / 17.79 MB, free: 5.266 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.001269/0.001269, allocations: 185.2 kB / 20.73 MB, free: 2.332 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.384/1.384, allocations: 225.6 MB / 249.1 MB, free: 3.613 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 51.91 kB / 365.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09983/0.1013, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002817/0.1041, allocations: 1.592 MB / 419.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009618/0.1051, allocations: 0.5259 MB / 419.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.977e-05/0.1051, allocations: 0 / 419.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.773e-05/0.1052, allocations: 7.875 kB / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.171e-05/0.1053, allocations: 15.88 kB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.1055, allocations: 39.91 kB / 420 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.922e-05/0.1056, allocations: 47.84 kB / 420 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1057, allocations: 19.97 kB / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.1057, allocations: 27.86 kB / 420.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.1058, allocations: 23.86 kB / 420.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.958e-05/0.1058, allocations: 4 kB / 420.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.106, allocations: 43.97 kB / 420.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.106, allocations: 15.91 kB / 420.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.1061, allocations: 31.81 kB / 420.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.1062, allocations: 83.58 kB / 420.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1062, allocations: 0 / 420.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.1062, allocations: 4 kB / 420.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1062, allocations: 0 / 420.3 MB, free: 10.13 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.0005293/0.1068, allocations: 379.1 kB / 420.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1068, allocations: 8.031 kB / 420.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.16e-05/0.1069, allocations: 46.7 kB / 420.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003607/0.1072, allocations: 44.84 kB / 420.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.1074, allocations: 176.3 kB / 420.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.1074, allocations: 12.06 kB / 420.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.1074, allocations: 11.94 kB / 420.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.1077, allocations: 93.58 kB / 421 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1077, allocations: 0 / 421 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1077, allocations: 8 kB / 421 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1077, allocations: 3.984 kB / 421 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.1079, allocations: 71.94 kB / 421.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006216/0.1086, allocations: 368.4 kB / 421.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.1087, allocations: 66.55 kB / 421.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1089, allocations: 40.89 kB / 421.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.1089, allocations: 0 / 421.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.1089, allocations: 38.5 kB / 421.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.1089, allocations: 0 / 421.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000446/0.1093, allocations: 125.8 kB / 421.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1094, allocations: 51.41 kB / 421.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.1095, allocations: 118.1 kB / 421.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.1095, allocations: 25.7 kB / 421.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.1096, allocations: 108 kB / 422 MB, free: 8.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.1096, allocations: 15.89 kB / 422 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.1096, allocations: 17.72 kB / 422 MB, free: 8.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1098, allocations: 318.8 kB / 422.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.1099, allocations: 31.98 kB / 422.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.11, allocations: 31.97 kB / 422.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.1102, allocations: 52.83 kB / 422.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1102, allocations: 0 / 422.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002311/0.1104, allocations: 105.5 kB / 422.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1104, allocations: 4 kB / 422.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1104, allocations: 0 / 422.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1104, allocations: 0 / 422.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.1106, allocations: 19.98 kB / 422.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1106, allocations: 7.938 kB / 422.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.742e-05/0.1106, allocations: 7.984 kB / 422.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1107, allocations: 4 kB / 422.6 MB, free: 7.527 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 0.0001379/0.1108, allocations: 113.8 kB / 422.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.1108, allocations: 11.89 kB / 422.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.1111, allocations: 113.5 kB / 422.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1111, allocations: 3.938 kB / 422.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1111, allocations: 0 / 422.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1111, allocations: 0 / 422.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.1114, allocations: 189.6 kB / 423 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1114, allocations: 4 kB / 423 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.1115, allocations: 27.86 kB / 423.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1115, allocations: 0 / 423.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1115, allocations: 4.25 kB / 423.1 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1115, allocations: 7.938 kB / 423.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1115, allocations: 0 / 423.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.1118, allocations: 199.5 kB / 423.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.1119, allocations: 85 kB / 423.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.1119, allocations: 0 / 423.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.112, allocations: 11.98 kB / 423.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.112, allocations: 7.984 kB / 423.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.112, allocations: 0 / 423.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.508e-05/0.1121, allocations: 99.27 kB / 423.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1121, allocations: 0 / 423.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.1123, allocations: 8 kB / 423.5 MB, free: 6.555 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.0006913/0.113, allocations: 0.7708 MB / 424.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.1133, allocations: 68 kB / 424.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1133, allocations: 0 / 424.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.1134, allocations: 35.91 kB / 424.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.1137, allocations: 10.39 kB / 424.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.1155, allocations: 1.486 MB / 425.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.1159, allocations: 0.6961 MB / 426.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.614e-05/0.1159, allocations: 8 kB / 426.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/0.116, allocations: 27.42 kB / 426.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.116, allocations: 0 / 426.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.1418, allocations: 1.964 MB / 428.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/8.347, allocations: 17.84 kB / 428.6 MB, free: 1.422 MB / 350.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 52.5] 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: 10.590379507280886]