Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 112.9 kB / 18.45 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 213.6 kB / 21.42 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 207.6 MB / 231.8 MB, free: 4.062 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 55.92 kB / 342.3 MB, free: 9.992 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09384/0.09557, allocations: 49.13 MB / 391.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.002983/0.09855, allocations: 1.57 MB / 393 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.09962, allocations: 0.5713 MB / 393.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/0.09968, allocations: 0 / 393.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.09971, allocations: 3.938 kB / 393.6 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.846e-05/0.0998, allocations: 23.8 kB / 393.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.1, allocations: 43.83 kB / 393.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.247e-05/0.1001, allocations: 43.91 kB / 393.7 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1002, allocations: 23.92 kB / 393.7 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.158e-05/0.1003, allocations: 27.86 kB / 393.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.989e-05/0.1004, allocations: 23.86 kB / 393.7 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1004, allocations: 11.94 kB / 393.8 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.1006, allocations: 39.91 kB / 393.8 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.1006, allocations: 19.91 kB / 393.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.1006, allocations: 27.86 kB / 393.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.1008, allocations: 83.64 kB / 393.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1008, allocations: 0 / 393.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1008, allocations: 0 / 393.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.1008, allocations: 3.984 kB / 393.9 MB, free: 6.168 MB / 318.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.0005245/0.1013, allocations: 379 kB / 394.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1014, allocations: 8.031 kB / 394.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.373e-05/0.1015, allocations: 42.73 kB / 394.3 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000382/0.1018, allocations: 52.84 kB / 394.4 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.102, allocations: 176.2 kB / 394.6 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.102, allocations: 384 / 394.6 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.102, allocations: 16.38 kB / 394.6 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.1023, allocations: 97.67 kB / 394.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1023, allocations: 0 / 394.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1023, allocations: 3.938 kB / 394.7 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1023, allocations: 0 / 394.7 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.1025, allocations: 79.88 kB / 394.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006613/0.1032, allocations: 364.6 kB / 395.1 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.1034, allocations: 70.52 kB / 395.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.1036, allocations: 32.97 kB / 395.2 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.1036, allocations: 0 / 395.2 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1036, allocations: 34.56 kB / 395.3 MB, free: 4.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.1036, allocations: 0 / 395.3 MB, free: 4.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004472/0.1041, allocations: 129.5 kB / 395.4 MB, free: 4.535 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.1041, allocations: 55.41 kB / 395.4 MB, free: 4.469 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.1042, allocations: 122.1 kB / 395.6 MB, free: 4.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.1043, allocations: 25.7 kB / 395.6 MB, free: 4.309 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.1043, allocations: 104 kB / 395.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.1044, allocations: 19.8 kB / 395.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.1044, allocations: 17.72 kB / 395.7 MB, free: 4.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1046, allocations: 318.8 kB / 396 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.1047, allocations: 31.97 kB / 396.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.262e-05/0.1048, allocations: 23.98 kB / 396.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.105, allocations: 56.81 kB / 396.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.105, allocations: 0 / 396.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002593/0.1052, allocations: 97.55 kB / 396.2 MB, free: 3.625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1052, allocations: 8 kB / 396.2 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1052, allocations: 0 / 396.2 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.1053, allocations: 7.938 kB / 396.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.1054, allocations: 23.92 kB / 396.3 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1054, allocations: 0 / 396.3 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.117e-05/0.1055, allocations: 12.42 kB / 396.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.1055, allocations: 0 / 396.3 MB, free: 3.574 MB / 318.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.0001054/0.1056, allocations: 113.8 kB / 396.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.1056, allocations: 7.953 kB / 396.4 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.106, allocations: 117.5 kB / 396.5 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.106, allocations: 0 / 396.5 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.106, allocations: 4 kB / 396.5 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.106, allocations: 0 / 396.5 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.1062, allocations: 193.6 kB / 396.7 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1062, allocations: 4 kB / 396.7 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.1063, allocations: 23.97 kB / 396.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1063, allocations: 0 / 396.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1063, allocations: 7.938 kB / 396.7 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1063, allocations: 0 / 396.7 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.1063, allocations: 4 kB / 396.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.1067, allocations: 191.4 kB / 396.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.1067, allocations: 93.05 kB / 397 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.1068, allocations: 3.938 kB / 397 MB, free: 2.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1069, allocations: 4 kB / 397 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.1069, allocations: 7.984 kB / 397 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.1069, allocations: 0 / 397 MB, free: 2.715 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.163e-05/0.107, allocations: 103.8 kB / 397.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.107, allocations: 0 / 397.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1072, allocations: 11.94 kB / 397.2 MB, free: 2.602 MB / 318.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.000783/0.108, allocations: 0.771 MB / 397.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002721/0.1083, allocations: 68.08 kB / 398 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1083, allocations: 0 / 398 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.1084, allocations: 32.09 kB / 398 MB, free: 1.707 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.1087, allocations: 12.12 kB / 398 MB, free: 1.695 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.1107, allocations: 1.48 MB / 399.5 MB, free: 136 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.1111, allocations: 0.6963 MB / 400.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.572e-05/0.1112, allocations: 8 kB / 400.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.142e-05/0.1112, allocations: 31.36 kB / 400.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1112, allocations: 0 / 400.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.1363, allocations: 1.969 MB / 402.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.011, allocations: 8.938 kB / 402.2 MB, free: 13.35 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.513305237996974]