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.001541/0.001541, allocations: 117.8 kB / 18.49 MB, free: 4.566 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.001657/0.001657, allocations: 190.7 kB / 21.43 MB, free: 1.641 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.371/1.371, allocations: 225.6 MB / 249.8 MB, free: 3.629 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 47.92 kB / 366.3 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1021, allocations: 52.15 MB / 418.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002821/0.1049, allocations: 1.581 MB / 420.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008829/0.1058, allocations: 0.522 MB / 420.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.387e-05/0.1059, allocations: 0 / 420.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.503e-05/0.1059, allocations: 3.938 kB / 420.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.835e-05/0.106, allocations: 19.86 kB / 420.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.1062, allocations: 43.83 kB / 420.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.076e-05/0.1063, allocations: 47.91 kB / 420.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.408e-05/0.1064, allocations: 15.98 kB / 420.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.886e-05/0.1064, allocations: 23.88 kB / 420.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.298e-05/0.1065, allocations: 35.78 kB / 420.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1065, allocations: 4 kB / 420.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.1066, allocations: 43.95 kB / 420.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.1067, allocations: 15.94 kB / 420.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.1067, allocations: 27.8 kB / 420.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.1069, allocations: 79.64 kB / 421 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.1069, allocations: 4 kB / 421 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1069, allocations: 0 / 421 MB, free: 10.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.1069, allocations: 3.938 kB / 421 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.0004631/0.1073, allocations: 379.1 kB / 421.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1074, allocations: 8.031 kB / 421.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.885e-05/0.1074, allocations: 16.16 kB / 421.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.489e-05/0.1075, allocations: 46.64 kB / 421.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003468/0.1078, allocations: 44.83 kB / 421.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.108, allocations: 176.3 kB / 421.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.108, allocations: 15.88 kB / 421.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.108, allocations: 12 kB / 421.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.1083, allocations: 111.9 kB / 421.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1083, allocations: 0 / 421.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1083, allocations: 4 kB / 421.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1083, allocations: 0 / 421.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.1085, allocations: 75.94 kB / 421.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006358/0.1092, allocations: 388.5 kB / 422.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.1094, allocations: 90.45 kB / 422.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.1096, allocations: 48.83 kB / 422.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.1096, allocations: 4 kB / 422.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1096, allocations: 34.56 kB / 422.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.814e-06/0.1096, allocations: 0 / 422.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001806/0.1114, allocations: 397.9 kB / 422.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.1115, allocations: 59.39 kB / 422.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.1116, allocations: 118.1 kB / 422.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.1116, allocations: 29.7 kB / 423 MB, free: 7.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.1117, allocations: 100.4 kB / 423.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/0.1117, allocations: 51.53 kB / 423.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.1118, allocations: 33.7 kB / 423.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1119, allocations: 322.8 kB / 423.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.1121, allocations: 55.97 kB / 423.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.1123, allocations: 79.86 kB / 423.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.1127, allocations: 136.9 kB / 423.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1127, allocations: 0 / 423.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004635/0.1131, allocations: 197.4 kB / 423.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1132, allocations: 8 kB / 423.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1132, allocations: 0 / 423.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1132, allocations: 0 / 423.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.1135, allocations: 47.98 kB / 424 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1135, allocations: 4 kB / 424 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.1137, allocations: 15.98 kB / 424 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.1137, allocations: 8 kB / 424 MB, free: 6.832 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0001026/0.1138, allocations: 121.7 kB / 424.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.1138, allocations: 11.94 kB / 424.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005168/0.1143, allocations: 206.3 kB / 424.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1143, allocations: 3.938 kB / 424.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1143, allocations: 0 / 424.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1143, allocations: 3.984 kB / 424.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009758/0.1153, allocations: 0.5467 MB / 424.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1153, allocations: 4 kB / 424.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.1156, allocations: 51.83 kB / 425 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1156, allocations: 3.984 kB / 425 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1156, allocations: 8 kB / 425 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1156, allocations: 8 kB / 425 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1156, allocations: 0 / 425 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005287/0.1161, allocations: 299 kB / 425.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-05/0.1162, allocations: 85.06 kB / 425.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.1162, allocations: 8 kB / 425.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.1164, allocations: 23.91 kB / 425.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.1165, allocations: 11.98 kB / 425.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.1165, allocations: 4 kB / 425.4 MB, free: 5.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.314e-05/0.1166, allocations: 99.27 kB / 425.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1166, allocations: 0 / 425.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1169, allocations: 24 kB / 425.5 MB, free: 5.207 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 17 * 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.00112/0.118, allocations: 0.9053 MB / 426.4 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004587/0.1184, allocations: 160.3 kB / 426.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.1184, allocations: 0 / 426.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.1186, allocations: 79.89 kB / 426.7 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.119, allocations: 8.625 kB / 426.7 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.1217, allocations: 1.865 MB / 428.5 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.122, allocations: 0.7117 MB / 429.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.716e-05/0.1221, allocations: 12.56 kB / 429.2 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.1222, allocations: 35.41 kB / 429.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1222, allocations: 0 / 429.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.1418, allocations: 3.167 MB / 432.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.398/8.54, allocations: 7.344 kB / 432.5 MB, free: 14.2 MB / 366.1 MB " [Timeout remaining time 651] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.843386708991602]