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.001323/0.001323, allocations: 120.1 kB / 17.79 MB, free: 5.25 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.001335/0.001335, allocations: 194.8 kB / 20.73 MB, free: 2.312 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.537/1.537, allocations: 225.6 MB / 249.1 MB, free: 3.582 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.001518/0.001518, allocations: 51.91 kB / 365.6 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1036, allocations: 52.15 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003003/0.1066, allocations: 1.581 MB / 419.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009985/0.1076, allocations: 0.5258 MB / 419.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.1077, allocations: 4 kB / 419.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.1077, allocations: 3.938 kB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.25e-05/0.1078, allocations: 11.86 kB / 419.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.108, allocations: 47.84 kB / 420 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.32e-05/0.1081, allocations: 51.89 kB / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1083, allocations: 19.98 kB / 420 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.714e-05/0.1083, allocations: 19.88 kB / 420.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.369e-05/0.1084, allocations: 27.84 kB / 420.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.1084, allocations: 8 kB / 420.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.1085, allocations: 47.89 kB / 420.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.1086, allocations: 11.94 kB / 420.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.1086, allocations: 27.8 kB / 420.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.1088, allocations: 83.64 kB / 420.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1088, allocations: 4 kB / 420.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1088, allocations: 0 / 420.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1088, allocations: 0 / 420.3 MB, free: 10.11 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.0005546/0.1093, allocations: 379.1 kB / 420.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1094, allocations: 8.031 kB / 420.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.813e-05/0.1095, allocations: 50.67 kB / 420.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000361/0.1098, allocations: 44.84 kB / 420.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.11, allocations: 184.2 kB / 420.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/0.11, allocations: 12.12 kB / 420.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.11, allocations: 7.938 kB / 420.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.1103, allocations: 89.64 kB / 421 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1103, allocations: 3.938 kB / 421 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.1103, allocations: 4 kB / 421 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1103, allocations: 0 / 421 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.1105, allocations: 75.89 kB / 421.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006381/0.1112, allocations: 368.4 kB / 421.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.1114, allocations: 66.53 kB / 421.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.1115, allocations: 36.95 kB / 421.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.1115, allocations: 8 kB / 421.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.1115, allocations: 38.5 kB / 421.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1115, allocations: 0 / 421.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004341/0.112, allocations: 113.6 kB / 421.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.112, allocations: 55.39 kB / 421.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.1121, allocations: 126.1 kB / 421.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.1121, allocations: 29.7 kB / 421.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.1122, allocations: 104 kB / 422 MB, free: 8.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.1122, allocations: 11.91 kB / 422 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/0.1123, allocations: 21.7 kB / 422.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1124, allocations: 310.8 kB / 422.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.1125, allocations: 31.97 kB / 422.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.216e-05/0.1126, allocations: 27.98 kB / 422.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.1128, allocations: 60.81 kB / 422.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1128, allocations: 0 / 422.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002748/0.1131, allocations: 97.86 kB / 422.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1131, allocations: 4 kB / 422.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1131, allocations: 8 kB / 422.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1131, allocations: 64 / 422.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.1133, allocations: 23.97 kB / 422.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1133, allocations: 0 / 422.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.85e-05/0.1133, allocations: 8 kB / 422.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1134, allocations: 3.984 kB / 422.6 MB, free: 7.508 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.998e-05/0.1135, allocations: 113.8 kB / 422.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.1135, allocations: 11.89 kB / 422.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.1138, allocations: 113.5 kB / 422.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.1138, allocations: 11.92 kB / 422.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1138, allocations: 0 / 422.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1138, allocations: 0 / 422.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.1141, allocations: 197.6 kB / 423.1 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1141, allocations: 0 / 423.1 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.1142, allocations: 19.92 kB / 423.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1142, allocations: 4 kB / 423.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-06/0.1142, allocations: 0 / 423.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1142, allocations: 4 kB / 423.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1142, allocations: 3.938 kB / 423.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.1145, allocations: 195.4 kB / 423.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.1146, allocations: 89 kB / 423.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.1146, allocations: 4 kB / 423.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.1147, allocations: 11.98 kB / 423.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.1148, allocations: 4 kB / 423.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.1148, allocations: 3.984 kB / 423.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.397e-05/0.1149, allocations: 95.27 kB / 423.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1149, allocations: 0 / 423.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002344/0.1151, allocations: 16 kB / 423.5 MB, free: 6.523 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.0008261/0.1159, allocations: 0.7748 MB / 424.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.1162, allocations: 60 kB / 424.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1162, allocations: 4 kB / 424.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.1163, allocations: 35.97 kB / 424.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.1166, allocations: 4 kB / 424.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.1186, allocations: 1.49 MB / 425.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.1189, allocations: 0.6922 MB / 426.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.297e-05/0.1189, allocations: 4 kB / 426.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.59e-05/0.119, allocations: 31.42 kB / 426.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.119, allocations: 0 / 426.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.1437, allocations: 1.972 MB / 428.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.684/8.828, allocations: 2.812 kB / 428.6 MB, free: 1.398 MB / 350.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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 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.csv","/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: 11.373957830946892]